SL-18671 Adjust fog density to more closely match sRGB space results.

meow-7.2.2
Dave Parks 2023-02-10 14:43:12 -06:00
parent 579fc82f8a
commit aca35b884f
1 changed files with 1 additions and 1 deletions

View File

@ -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