Skip to content
Snippets Groups Projects
Commit 7f3f6900 authored by Graham Linden's avatar Graham Linden
Browse files

SL-11220

Fix transport when no_atmo == 1 (HUD rendering) was in play.
parent c8ae0c0c
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ uniform int no_atmo; ...@@ -37,7 +37,7 @@ uniform int no_atmo;
vec3 atmosAmbient() vec3 atmosAmbient()
{ {
if (no_atmo == 1) return vec3(0.66); if (no_atmo == 1) return vec3(0.16);
return getAmblitColor(); return getAmblitColor();
} }
......
...@@ -36,7 +36,7 @@ vec3 atmosTransportFrag(vec3 light, vec3 additive, vec3 atten) ...@@ -36,7 +36,7 @@ vec3 atmosTransportFrag(vec3 light, vec3 additive, vec3 atten)
{ {
if (no_atmo == 1) if (no_atmo == 1)
{ {
return light; return light * 2.0;
} }
light *= atten.r; light *= atten.r;
light += additive; light += additive;
......
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