diff options
author | Dave Parks <davep@lindenlab.com> | 2023-04-06 13:21:25 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-04-06 13:21:25 -0500 |
commit | bb79718c8f0050569c80a1bfe4dd428321706d1a (patch) | |
tree | 7cf588c843e8a9e17629b77bb4903c97a3f346fd /indra/newview/app_settings/shaders/class1/effects | |
parent | 31f8fb79513ba6d1220aac13a5db110a7e4104da (diff) |
SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic exposure controls not persist, limit exposure range, and do a debug gl pass.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/effects')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/effects/glowF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/effects/glowF.glsl b/indra/newview/app_settings/shaders/class1/effects/glowF.glsl index c1f6af9f57..301e8aba26 100644 --- a/indra/newview/app_settings/shaders/class1/effects/glowF.glsl +++ b/indra/newview/app_settings/shaders/class1/effects/glowF.glsl @@ -56,5 +56,5 @@ void main() col += kern[6] * texture2D(diffuseMap, vary_texcoord2.zw); col += kern[7] * texture2D(diffuseMap, vary_texcoord3.zw); - frag_color = vec4(col.rgb * glowStrength, col.a); + frag_color = max(vec4(col.rgb * glowStrength, col.a), vec4(0)); } |