Browse Source

Examples: Fix shadow map enabled in `webgpu_instancing_morph` (#29553)

sunag 1 year ago
parent
commit
d69e82b4a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/webgpu_instancing_morph.html

+ 1 - 0
examples/webgpu_instancing_morph.html

@@ -140,6 +140,7 @@
 				renderer.setAnimationLoop( animate );
 				renderer.setPixelRatio( window.devicePixelRatio );
 				renderer.setSize( window.innerWidth, window.innerHeight );
+				renderer.shadowMap.enabled = true;
 				document.body.appendChild( renderer.domElement );
 
 				window.addEventListener( 'resize', onWindowResize );

粤ICP备19079148号