From 8c8edbbaeb68d82e1653e92dd7940ba0439777f2 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Mon, 7 Nov 2011 13:04:30 -0600 Subject: SH-2546 Fix for black water under terrain (use vec3 instead of float for vary_AtmosAttenuation --- .../app_settings/shaders/class1/windlight/atmosphericsVarsWaterV.glsl | 2 -- 1 file changed, 2 deletions(-) (limited to 'indra/newview/app_settings/shaders/class1') diff --git a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsVarsWaterV.glsl b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsVarsWaterV.glsl index ef34c5c853..8afcc20f6d 100644 --- a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsVarsWaterV.glsl +++ b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsVarsWaterV.glsl @@ -25,7 +25,6 @@ VARYING vec3 vary_PositionEye; -VARYING float fog_depth; vec3 getPositionEye() { @@ -35,5 +34,4 @@ vec3 getPositionEye() void setPositionEye(vec3 v) { vary_PositionEye = v; - fog_depth = v.z; } -- cgit v1.2.3