Draw trees before sky. Z-cull may be beneficial. Also, was incorrectly setting alphawrite off for deferred wlsky pass.

This commit is contained in:
Shyotl
2013-02-01 17:16:01 -06:00
parent 26de17f2de
commit 1069d5dec4
3 changed files with 3 additions and 5 deletions

View File

@@ -327,8 +327,6 @@ void LLDrawPoolWLSky::renderDeferred(S32 pass)
LLGLDepthTest depth(GL_TRUE, GL_FALSE);
LLGLDisable clip(GL_CLIP_PLANE0);
gGL.setColorMask(true, false); //Just in case.
LLGLSquashToFarClip far_clip(glh_get_current_projection());
renderSkyHaze(camHeightLocal);