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