Browse Source

shadowMask shouldn't be applied to indirect.

Ben Houston 9 years ago
parent
commit
c45b7cf94d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/renderers/shaders/ShaderLib.js

+ 0 - 2
src/renderers/shaders/ShaderLib.js

@@ -387,8 +387,6 @@ THREE.ShaderLib = {
 
 				"directReflectedLight.diffuse *= shadowMask;",
 				"directReflectedLight.specular *= shadowMask;",
-				"indirectReflectedLight.diffuse *= shadowMask;",
-				"indirectReflectedLight.specular *= shadowMask;",
 
 				"#ifdef METAL",