summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-12-11 08:08:26 +0800
committerErik Kundiman <erik@megapahit.org>2024-12-11 08:08:26 +0800
commit4b5794791650a0faf3cb5a1f3f27d9abe63a73fa (patch)
tree03e75bd65f2126ceab79ace3c6622d6f6d961929 /indra/newview/app_settings/shaders/class2/deferred
parentb8dded3614bbc8326d420c4e660f58e683f2ac4d (diff)
parentae9174ffdf340ef12c80547d90d05919957ab512 (diff)
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
index e3290e5e3c..d6569cda33 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
@@ -308,6 +308,7 @@ void main()
final_scale = 1;
#endif
- frag_color = max(color * final_scale, vec4(0));
+ color.rgb *= final_scale;
+ frag_color = max(color, vec4(0));
}