Skip to content
Snippets Groups Projects
Unverified Commit 96b695a8 authored by cosmic-linden's avatar cosmic-linden Committed by GitHub
Browse files

Merge pull request #578 from sldevel/HUD-fix

Fix for semi-transparent HUDs rendering opaque
parents 7e9ab0ba e62a4dc8
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -76,9 +76,9 @@ void main() ...@@ -76,9 +76,9 @@ void main()
vec3 pos = vary_position; vec3 pos = vary_position;
color.a = final_alpha;
#ifndef IS_HUD #ifndef IS_HUD
color.rgb = srgb_to_linear(color.rgb); color.rgb = srgb_to_linear(color.rgb);
color.a = final_alpha;
#ifdef IS_ALPHA #ifdef IS_ALPHA
vec3 sunlit; vec3 sunlit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment