From 79223b63a2d1d5947b7955ebfa79054b897265d9 Mon Sep 17 00:00:00 2001 From: RunitaiLinden Date: Wed, 28 Jun 2023 13:47:14 -0500 Subject: SL-19842 Sanity clamp sky brightness. --- indra/newview/app_settings/shaders/class1/deferred/skyF.glsl | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/app_settings/shaders/class1/deferred/skyF.glsl') 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); -- cgit v1.2.3