Several transparent ui-related components were writing to the depthbuffer for some silly reason. Don't do that since it messes with occlusion.

This commit is contained in:
Shyotl
2011-12-30 19:15:21 -06:00
parent 48552e3027
commit dff195d120
5 changed files with 22 additions and 23 deletions

View File

@@ -872,7 +872,7 @@ S32 LLViewerParcelOverlay::renderPropertyLines ()
LLGLSUIDefault gls_ui; // called from pipeline
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
LLGLDepthTest mDepthTest(GL_TRUE);
LLGLDepthTest mDepthTest(GL_TRUE, GL_FALSE);
// Find camera height off the ground (not from zero)
F32 ground_height_at_camera = land.resolveHeightGlobal( gAgentCamera.getCameraPositionGlobal() );