From aca35b884f09cb35aa53af328d5d7b55ba6360d3 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Fri, 10 Feb 2023 14:43:12 -0600 Subject: SL-18671 Adjust fog density to more closely match sRGB space results. --- indra/newview/app_settings/shaders/class1/environment/waterFogF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/app_settings/shaders/class1/environment') diff --git a/indra/newview/app_settings/shaders/class1/environment/waterFogF.glsl b/indra/newview/app_settings/shaders/class1/environment/waterFogF.glsl index 5765e04014..16651dcdbc 100644 --- a/indra/newview/app_settings/shaders/class1/environment/waterFogF.glsl +++ b/indra/newview/app_settings/shaders/class1/environment/waterFogF.glsl @@ -92,7 +92,7 @@ vec4 applyWaterFogViewLinearNoClip(vec3 pos, vec4 color, vec3 sunlit) //get "thickness" of water float l = max(depth, 0.1); - float kd = waterFogDensity; + float kd = waterFogDensity*1.3; float ks = waterFogKS; vec4 kc = waterFogColor; kc.rgb = srgb_to_linear(kc.rgb); // TODO -- pass in waterFogColor linear -- cgit v1.2.3