提交 52eda737 编写于 作者: M Michael Herzog 提交者: Mr.doob

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

This reverts commit 99a459e9.
上级 817a8210
......@@ -1771,13 +1771,6 @@ function WebGLRenderer( parameters = {} ) {
uniforms.rectAreaLights.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 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册