Whoops. Reverting some stuff I was toying around with.

This commit is contained in:
Shyotl
2011-03-08 18:52:02 -06:00
parent 1b039a1be6
commit ef90cc74e4
2 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ void main()
// spec *= shadow;
// color.rgb += spec * specular;
color.rgb = atmosTransport(color.rgb);
// color.rgb = atmosTransport(color.rgb);
// color.rgb = scaleSoftClip(color.rgb);
// color.a = spec * sunAngle2;

View File

@@ -404,11 +404,11 @@ void LLDrawPoolWater::shade()
F32 eyedepth = LLViewerCamera::getInstance()->getOrigin().mV[2] - gAgent.getRegion()->getWaterHeight();
if (eyedepth > 0.f && deferred_render)
if (deferred_render)
{
shader = &gDeferredWaterProgram;
}
else if (eyedepth < 0.f /*&& LLPipeline::sWaterReflections*/)
else if (eyedepth < 0.f && LLPipeline::sWaterReflections)
{
shader = &gUnderWaterProgram;
}