Skip to content

Commit e62a4dc

Browse files
committed
Fix for semi-transparent HUDs rendering opaque
This commit fixes a bug introduced with commit 6472b75 where the fullbrightF.glsl shader fails to set color.a to final_alpha for HUDs.
1 parent 1f7f30a commit e62a4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ void main()
7676

7777
vec3 pos = vary_position;
7878

79+
color.a = final_alpha;
7980
#ifndef IS_HUD
8081
color.rgb = srgb_to_linear(color.rgb);
81-
color.a = final_alpha;
8282
#ifdef IS_ALPHA
8383

8484
vec3 sunlit;

0 commit comments

Comments
 (0)