|
@@ -201,7 +201,7 @@ function WebGLRenderer( parameters = {} ) {
|
|
|
try {
|
|
|
|
|
|
const contextAttributes = {
|
|
|
- alpha: _alpha,
|
|
|
+ alpha: true,
|
|
|
depth: _depth,
|
|
|
stencil: _stencil,
|
|
|
antialias: _antialias,
|
|
@@ -300,7 +300,7 @@ function WebGLRenderer( parameters = {} ) {
|
|
|
materials = new WebGLMaterials( properties );
|
|
|
renderLists = new WebGLRenderLists();
|
|
|
renderStates = new WebGLRenderStates( extensions, capabilities );
|
|
|
- background = new WebGLBackground( _this, cubemaps, state, objects, _premultipliedAlpha );
|
|
|
+ background = new WebGLBackground( _this, cubemaps, state, objects, _alpha, _premultipliedAlpha );
|
|
|
shadowMap = new WebGLShadowMap( _this, objects, capabilities );
|
|
|
|
|
|
bufferRenderer = new WebGLBufferRenderer( _gl, extensions, info, capabilities );
|