MAINT-47 [PUBLIC]WindLight: Special overlays (including property lines and hilights for beacons) aren't visible in shader water

FIXED
meow-7.2.2
ruslantproductengine 2017-11-09 17:42:26 +02:00
parent 99308bb8a8
commit 6aab85e6e4
1 changed files with 13 additions and 1 deletions

View File

@ -9995,7 +9995,19 @@ void LLPipeline::generateWaterReflection(LLCamera& camera_in)
}
else
{
renderGeom(camera);
renderGeom(camera);
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.bind();
}
LLWorld::getInstance()->renderPropertyLines();
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.unbind();
}
}
if (LLPipeline::sRenderDeferred && materials_in_water)