Skip to content
Snippets Groups Projects
Commit aca35b88 authored by David Parks's avatar David Parks
Browse files

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

parent 579fc82f
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment