From 28f6842be1310b3d3bf084fc38d21b071ee42b4d Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 2 Jun 2024 20:06:16 +0800 Subject: Revert unnecessary shader operand diff from LL's It's been already casted. --- indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl b/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl index 32e63d97a8..bfb592be9b 100644 --- a/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl +++ b/indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl @@ -55,7 +55,7 @@ void main() // Dithering. Reduces banding effects in the reduced precision glow buffer. float NOISE_DEPTH = 64.0; col.rgb += glow_noise / NOISE_DEPTH; - col.rgb = max(col.rgb, vec3(0.0)); + col.rgb = max(col.rgb, vec3(0)); #endif frag_color.rgb = col.rgb; frag_color.a = max(col.a, mix(lum, warmth, warmthAmount) * maxExtractAlpha); -- cgit v1.2.3