Used to check whether various extensions are supported and returns an object with details of the extension if available.
This method can check for the following extensions:<br/>
<ul>
<li>*WEBGL_depth_texture*</li>
<li>*EXT_texture_filter_anisotropic*</li>
<li>*WEBGL_compressed_texture_s3tc*</li>
<li>*WEBGL_compressed_texture_pvrtc*</li>
<li>*WEBGL_compressed_texture_etc1*</li>
</ul>
</p>
<h3>[property:number outputEncoding]</h3>
...
...
@@ -218,24 +228,27 @@
<h3>[property:WebGLShadowMap shadowMap]</h3>
<p>
This contains the reference to the shadow map, if used.
This contains the reference to the shadow map, if used.<br/>
- [page:Boolean enabled]:
If set, use shadow maps in the scene. Default is *false*.<br/>
- [page:Boolean autoUpdate]:
Enables automatic updates to the shadows in the scene. Default is *true*.<br/>
If you do not require dynamic lighting / shadows, you may set this to *false* when the renderer is instantiated.<br/>
- [page:Boolean needsUpdate]:
When set to *true*, shadow maps in the scene will be updated in the next *render* call. Default is *false*.<br/>
If you have disabled automatic updates to shadow maps (*shadowMap.autoUpdate = false*), you will need to set this to *true* and then make a render call to update the shadows in your scene.<br/>
- [page:Integer type]:
Defines shadow map type (unfiltered, percentage close filtering, percentage close filtering with bilinear filtering in shader).
Options are:
<ul>
<li>THREE.BasicShadowMap</li>
<li>THREE.PCFShadowMap (default)</li>
<li>THREE.PCFSoftShadowMap</li>
<li>THREE.VSMShadowMap</li>
</ul>
See [page:Renderer Renderer constants] for details.<br/>
</p>
<h3>[property:Boolean shadowMap.enabled]</h3>
<p>If set, use shadow maps in the scene. Default is *false*.</p>
<h3>[property:Boolean shadowMap.autoUpdate]</h3>
<p>Enables automatic updates to the shadows in the scene. Default is *true*.</p>
<p>If you do not require dynamic lighting / shadows, you may set this to *false* when the renderer is instantiated.</p>
<h3>[property:Boolean shadowMap.needsUpdate]</h3>
<p>When set to *true*, shadow maps in the scene will be updated in the next *render* call. Default is *false*. </p>
<p>If you have disabled automatic updates to shadow maps (*shadowMap.autoUpdate = false*), you will need to set this to *true* and then make a render call to update the shadows in your scene.</p>
<h3>[property:Integer shadowMap.type]</h3>
<p>Defines shadow map type (unfiltered, percentage close filtering, percentage close filtering with bilinear filtering in shader)</p>
<p>Options are THREE.BasicShadowMap, THREE.PCFShadowMap (default), THREE.PCFSoftShadowMap and THREE.VSMShadowMap. See [page:Renderer Renderer constants] for details.</p>
<h3>[property:Boolean sortObjects]</h3>
<p>
Defines whether the renderer should sort objects. Default is *true*.<br/><br/>