提交 9cae236d 编写于 作者: M Mr.doob

WebGLRenderer: Fixed MeshNormalMaterial uniforms.

上级 92af99c6
......@@ -1809,10 +1809,6 @@ function WebGLRenderer( parameters ) {
}
} else if ( material.isMeshNormalMaterial ) {
refreshUniformsCommon( m_uniforms, material );
} else if ( material.isMeshDepthMaterial ) {
refreshUniformsCommon( m_uniforms, material );
......@@ -1825,6 +1821,7 @@ function WebGLRenderer( parameters ) {
} else if ( material.isMeshNormalMaterial ) {
refreshUniformsCommon( m_uniforms, material );
refreshUniformsNormal( m_uniforms, material );
} else if ( material.isLineBasicMaterial ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册