提交 8ecc72f7 编写于 作者: S sunag

renderer argument in material.onBeforeCompile

上级 b9df7242
......@@ -1536,7 +1536,7 @@ function WebGLRenderer( parameters ) {
}
material.onBeforeCompile( materialProperties.shader );
material.onBeforeCompile( materialProperties.shader, _this );
program = programCache.acquireProgram( material, materialProperties.shader, parameters, code );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册