Skip to content

Commit fc7082e

Browse files
committed
Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into release/2024.08-DeltaFPS
2 parents c2402af + 25c4ba3 commit fc7082e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ void calcAtmosphericVars(vec3 inPositionEye, vec3 light_dir, float ambFactor, ou
124124
amblit = tmpAmbient;
125125

126126
additive *= vec3(1.0 - combined_haze);
127+
128+
// sanity clamp haze contribution
129+
additive = min(additive, vec3(10));
127130
}
128131

129132
vec3 srgb_to_linear(vec3 col);

0 commit comments

Comments
 (0)