|
@@ -308,7 +308,7 @@ function WebGLRenderer( parameters = {} ) {
|
|
|
morphtargets = new WebGLMorphtargets( _gl, capabilities, textures );
|
|
|
clipping = new WebGLClipping( properties );
|
|
|
programCache = new WebGLPrograms( _this, cubemaps, cubeuvmaps, extensions, capabilities, bindingStates, clipping );
|
|
|
- materials = new WebGLMaterials( properties );
|
|
|
+ materials = new WebGLMaterials( _this, properties );
|
|
|
renderLists = new WebGLRenderLists();
|
|
|
renderStates = new WebGLRenderStates( extensions, capabilities );
|
|
|
background = new WebGLBackground( _this, cubemaps, state, objects, _alpha, _premultipliedAlpha );
|