summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-10-12 14:59:37 -0500
committerDave Parks <davep@lindenlab.com>2022-10-12 14:59:37 -0500
commit9670139241891e4f93ddb5e42b2c5356e338af5f (patch)
tree2a8fdfbaf98ef55c3184e15b1b56d96366e5772a /indra
parentfad5ece612b36669add9babd6d4574d8a4974e70 (diff)
SL-18190 Fix for mismatch between alpha and opaque water fog.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
index b3f15f81f1..7f566e67fa 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
@@ -72,7 +72,7 @@ uniform vec3 light_diffuse[8];
void waterClip(vec3 pos);
#ifdef WATER_FOG
-vec4 applyWaterFogView(vec3 pos, vec4 color);
+vec4 applyWaterFogViewLinear(vec3 pos, vec4 color);
#endif
vec3 srgb_to_linear(vec3 c);
@@ -293,7 +293,7 @@ void main()
#endif // !defined(LOCAL_LIGHT_KILL)
#ifdef WATER_FOG
- color = applyWaterFogView(pos.xyz, color);
+ color = applyWaterFogViewLinear(pos.xyz, color);
#endif // WATER_FOG
#endif // #else // FOR_IMPOSTOR