diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-06-28 13:47:14 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-06-28 13:47:14 -0500 |
commit | 79223b63a2d1d5947b7955ebfa79054b897265d9 (patch) | |
tree | 2edab9c083562a12e7eeeffc9172f785facf4aa5 /indra | |
parent | 36949692b63031f70451317445a1a368efbfcaff (diff) |
SL-19842 Sanity clamp sky brightness.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/skyF.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/skyF.glsl b/indra/newview/app_settings/shaders/class1/deferred/skyF.glsl index cc4c3b5dce..9d9ba49d82 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/skyF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/skyF.glsl @@ -84,6 +84,7 @@ void main() color.rgb += rainbow(optic_d); color.rgb += halo_22; color.rgb *= 2.; + color.rgb = clamp(color.rgb, vec3(0), vec3(5)); frag_data[0] = vec4(0); frag_data[1] = vec4(0); |