You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This contains the reference to the shadow map, if used.
231
+
This contains the reference to the shadow map, if used.<br/>
232
+
- [page:Boolean enabled]:
233
+
If set, use shadow maps in the scene. Default is *false*.<br/>
234
+
- [page:Boolean autoUpdate]:
235
+
Enables automatic updates to the shadows in the scene. Default is *true*.<br/>
236
+
If you do not require dynamic lighting / shadows, you may set this to *false* when the renderer is instantiated.<br/>
237
+
- [page:Boolean needsUpdate]:
238
+
When set to *true*, shadow maps in the scene will be updated in the next *render* call. Default is *false*.<br/>
239
+
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/>
240
+
- [page:Integer type]:
241
+
Defines shadow map type (unfiltered, percentage close filtering, percentage close filtering with bilinear filtering in shader).
242
+
Options are:
243
+
<ul>
244
+
<li>THREE.BasicShadowMap</li>
245
+
<li>THREE.PCFShadowMap (default)</li>
246
+
<li>THREE.PCFSoftShadowMap</li>
247
+
<li>THREE.VSMShadowMap</li>
248
+
</ul>
249
+
See [page:Renderer Renderer constants] for details.<br/>
222
250
</p>
223
251
224
-
<h3>[property:Boolean shadowMap.enabled]</h3>
225
-
<p>If set, use shadow maps in the scene. Default is *false*.</p>
226
-
227
-
<h3>[property:Boolean shadowMap.autoUpdate]</h3>
228
-
<p>Enables automatic updates to the shadows in the scene. Default is *true*.</p>
229
-
<p>If you do not require dynamic lighting / shadows, you may set this to *false* when the renderer is instantiated.</p>
230
-
231
-
<h3>[property:Boolean shadowMap.needsUpdate]</h3>
232
-
<p>When set to *true*, shadow maps in the scene will be updated in the next *render* call. Default is *false*. </p>
233
-
<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>
234
-
235
-
<h3>[property:Integer shadowMap.type]</h3>
236
-
<p>Defines shadow map type (unfiltered, percentage close filtering, percentage close filtering with bilinear filtering in shader)</p>
237
-
<p>Options are THREE.BasicShadowMap, THREE.PCFShadowMap (default), THREE.PCFSoftShadowMap and THREE.VSMShadowMap. See [page:Renderer Renderer constants] for details.</p>
238
-
239
252
<h3>[property:Boolean sortObjects]</h3>
240
253
<p>
241
254
Defines whether the renderer should sort objects. Default is *true*.<br/><br/>
0 commit comments