Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into release/2024.08-DeltaFPS

master
Brad Linden 2024-08-22 14:06:07 -07:00
commit fc7082e93d
1 changed files with 3 additions and 0 deletions

View File

@ -124,6 +124,9 @@ void calcAtmosphericVars(vec3 inPositionEye, vec3 light_dir, float ambFactor, ou
amblit = tmpAmbient;
additive *= vec3(1.0 - combined_haze);
// sanity clamp haze contribution
additive = min(additive, vec3(10));
}
vec3 srgb_to_linear(vec3 col);