Skip to content

Commit 4198a47

Browse files
committed
Examples: Fix shadow map enabled in webgpu_shadowmap (#29520)
1 parent 8c56b13 commit 4198a47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/webgpu_shadowmap.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
renderer.setPixelRatio( window.devicePixelRatio );
175175
renderer.setSize( window.innerWidth, window.innerHeight );
176176
renderer.setAnimationLoop( animate );
177+
renderer.shadowMap.enabled = true;
177178
renderer.toneMapping = THREE.ACESFilmicToneMapping;
178179
document.body.appendChild( renderer.domElement );
179180

0 commit comments

Comments
 (0)