diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-06-02 20:06:16 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-06-02 20:06:16 +0800 |
commit | 28f6842be1310b3d3bf084fc38d21b071ee42b4d (patch) | |
tree | ef11c3d87abba56da30d835cb28cd4e3ca23a378 /indra/newview | |
parent | c30ec44e2f4b267b9f29be5084db51323b05a21c (diff) |
Revert unnecessary shader operand diff from LL's
It's been already casted.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/effects/glowExtractF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |