Skip to content
Snippets Groups Projects
Commit bd18a3dd authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Restore atmospherics on fullbright objects

parent 345d89ac
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,9 @@ void main()
color.rgb *= vertex_color.rgb;
color.rgb = fullbrightAtmosTransport(color.rgb);
color.rgb = fullbrightScaleSoftClip(color.rgb);
#ifdef WATER_FOG
vec3 pos = vary_position;
vec4 fogged = applyWaterFogView(pos, vec4(color.rgb, final_alpha));
......
......@@ -76,7 +76,7 @@ void main()
//color.rgb = srgb_to_linear(color.rgb);
color.rgb = fullbrightAtmosTransportFrag(color.rgb, additive, atten);
color.rgb = fullbrightShinyAtmosTransport(color.rgb);
color.rgb = fullbrightScaleSoftClip(color.rgb);
color.a = 1.0;
......
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