未验证 提交 89516feb 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #15662 from jsantell/depthtestcubebg

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