diff options
author | Dave Parks <davep@lindenlab.com> | 2024-12-10 13:28:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-10 15:28:50 -0600 |
commit | ae9174ffdf340ef12c80547d90d05919957ab512 (patch) | |
tree | da7b03109964b38cad7a8ec15195ceef6f5c4b6d /indra/newview/app_settings/shaders/class2/deferred | |
parent | 97826b555b74044887b765e7a029e2763ea86308 (diff) |
#3234 Fix for slightly transparent objects negating colors (#3259)
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl | 3 |
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 02aaf24194..3e702f26be 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)); } |