|
@@ -33,7 +33,7 @@ function WebGLPrograms( renderer, capabilities ) {
|
|
"maxMorphTargets", "maxMorphNormals", "premultipliedAlpha",
|
|
"maxMorphTargets", "maxMorphNormals", "premultipliedAlpha",
|
|
"numDirLights", "numPointLights", "numSpotLights", "numHemiLights", "numRectAreaLights",
|
|
"numDirLights", "numPointLights", "numSpotLights", "numHemiLights", "numRectAreaLights",
|
|
"shadowMapEnabled", "shadowMapType", "toneMapping", 'physicallyCorrectLights',
|
|
"shadowMapEnabled", "shadowMapType", "toneMapping", 'physicallyCorrectLights',
|
|
- "alphaTest", "doubleSided", "flipSided", "numClippingPlanes", "numClipIntersection", "depthPacking"
|
|
|
|
|
|
+ "alphaTest", "doubleSided", "flipSided", "numClippingPlanes", "numClipIntersection", "depthPacking", "removeBanding"
|
|
];
|
|
];
|
|
|
|
|
|
|
|
|
|
@@ -185,6 +185,8 @@ function WebGLPrograms( renderer, capabilities ) {
|
|
numClippingPlanes: nClipPlanes,
|
|
numClippingPlanes: nClipPlanes,
|
|
numClipIntersection: nClipIntersection,
|
|
numClipIntersection: nClipIntersection,
|
|
|
|
|
|
|
|
+ removeBanding: material.removeBanding,
|
|
|
|
+
|
|
shadowMapEnabled: renderer.shadowMap.enabled && object.receiveShadow && lights.shadows.length > 0,
|
|
shadowMapEnabled: renderer.shadowMap.enabled && object.receiveShadow && lights.shadows.length > 0,
|
|
shadowMapType: renderer.shadowMap.type,
|
|
shadowMapType: renderer.shadowMap.type,
|
|
|
|
|