Browse Source

WebGLPrograms: Removed unused numShadows reference.

Mr.doob 9 years ago
parent
commit
63f8ded1c7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/renderers/webgl/WebGLPrograms.js

+ 1 - 2
src/renderers/webgl/WebGLPrograms.js

@@ -23,7 +23,7 @@ THREE.WebGLPrograms = function ( renderer, capabilities ) {
 		"maxBones", "useVertexTexture", "morphTargets", "morphNormals",
 		"maxMorphTargets", "maxMorphNormals",
 		"numDirLights", "numPointLights", "numSpotLights", "numHemiLights",
-		"numShadows", "shadowMapEnabled", "pointLightShadows",
+		"shadowMapEnabled", "pointLightShadows",
 		"shadowMapType",
 		"alphaTest", "doubleSided", "flipSided"
 	];
@@ -136,7 +136,6 @@ THREE.WebGLPrograms = function ( renderer, capabilities ) {
 			numSpotLights: lights.spot.length,
 			numHemiLights: lights.hemi.length,
 
-			numShadows: lights.shadows.length,
 			pointLightShadows: lights.shadowsPointLight,
 
 			shadowMapEnabled: renderer.shadowMap.enabled && object.receiveShadow && lights.shadows.length > 0,