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

WebGLProgram: Don't pass material.name to shader

上级 628546e2
......@@ -161,7 +161,7 @@ function WebGLPrograms( renderer, extensions, capabilities, bindingStates ) {
isWebGL2: isWebGL2,
shaderID: shaderID,
shaderName: material.name || material.type,
shaderName: material.type,
vertexShader: vertexShader,
fragmentShader: fragmentShader,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册