Skip to content

Commit 30b980c

Browse files
TileShadowNode: Fix shadow manual update (#30863)
1 parent caddbf4 commit 30b980c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/tsl/shadows/TileShadowNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class TileShadowNode extends ShadowBaseNode {
312312
*/
313313
updateBefore( frame ) {
314314

315-
const shadow = this.lights[ 0 ].shadow; // so far test only the first light
315+
const shadow = this.originalLight.shadow;
316316

317317
let needsUpdate = shadow.needsUpdate || shadow.autoUpdate;
318318

0 commit comments

Comments
 (0)