From cd85afc9a5bebc2a2a7a4691d44fce12129c2b28 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Mon, 21 Jul 2014 20:28:23 -0500 Subject: [PATCH] Quick workaround to fix issue with simple geom not rendering in deferred 'underwater' pass. --- .../app_settings/shaders/class1/lighting/lightWaterF.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/app_settings/shaders/class1/lighting/lightWaterF.glsl b/indra/newview/app_settings/shaders/class1/lighting/lightWaterF.glsl index 3586652cb..248bff55f 100644 --- a/indra/newview/app_settings/shaders/class1/lighting/lightWaterF.glsl +++ b/indra/newview/app_settings/shaders/class1/lighting/lightWaterF.glsl @@ -39,10 +39,10 @@ void default_lighting_water() { vec4 color = diffuseLookup(vary_texcoord0.xy) * vertex_color; - if(color.a < .004) + /*if(color.a < .004) { discard; - } + }*/ color.rgb = atmosLighting(color.rgb);