提交 de514394 编写于 作者: F Filipp Keks

fix materials initialization

上级 ed283ae1
......@@ -282,7 +282,7 @@ function WebGLRenderer( parameters ) {
objects = new WebGLObjects( _gl, geometries, attributes, info );
morphtargets = new WebGLMorphtargets( _gl );
programCache = new WebGLPrograms( _this, extensions, capabilities );
materials = new WebGLMaterials();
materials = new WebGLMaterials( properties );
renderLists = new WebGLRenderLists();
renderStates = new WebGLRenderStates();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册