提交 7bbd736d 编写于 作者: J Jordan Santell

WebGLBackgrounds from cube textures should no longer check depth buffer; follow up fix from #15239

上级 65836710
...@@ -60,7 +60,7 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) { ...@@ -60,7 +60,7 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
vertexShader: ShaderLib.cube.vertexShader, vertexShader: ShaderLib.cube.vertexShader,
fragmentShader: ShaderLib.cube.fragmentShader, fragmentShader: ShaderLib.cube.fragmentShader,
side: BackSide, side: BackSide,
depthTest: true, depthTest: false,
depthWrite: false, depthWrite: false,
fog: false fog: false
} ) } )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册