提交 5eddfafb 编写于 作者: M Mikael Emtinger

Fixed bug with MeshShaderMaterial

上级 52edc3b9
此差异已折叠。
......@@ -1609,8 +1609,7 @@ THREE.WebGLRenderer = function ( parameters ) {
}
if ( material instanceof THREE.MeshPhongMaterial ||
material instanceof THREE.MeshLambertMaterial ||
material instanceof THREE.MeshShaderMaterial ) {
material instanceof THREE.MeshLambertMaterial ) {
setupLights( program, lights );
refreshUniformsLights( m_uniforms, _lights );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册