2
0
Эх сурвалжийг харах

Revert "Add the shadow map and matrix uniforms to markUniformsLightsNeedsUpdate (#23559)" (#23650)

This reverts commit 99a459e941d262e807542eaef80b17acd099ff1c.
Michael Herzog 3 жил өмнө
parent
commit
52eda737e0

+ 0 - 7
src/renderers/WebGLRenderer.js

@@ -1771,13 +1771,6 @@ function WebGLRenderer( parameters = {} ) {
 		uniforms.rectAreaLights.needsUpdate = value;
 		uniforms.rectAreaLights.needsUpdate = value;
 		uniforms.hemisphereLights.needsUpdate = value;
 		uniforms.hemisphereLights.needsUpdate = value;
 
 
-		uniforms.directionalShadowMap.needsUpdate = value;
-		uniforms.directionalShadowMatrix.needsUpdate = value;
-		uniforms.spotShadowMap.needsUpdate = value;
-		uniforms.spotShadowMatrix.needsUpdate = value;
-		uniforms.pointShadowMap.needsUpdate = value;
-		uniforms.pointShadowMatrix.needsUpdate = value;
-
 	}
 	}
 
 
 	function materialNeedsLights( material ) {
 	function materialNeedsLights( material ) {