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
No related merge requests found
......@@ -76,9 +76,9 @@ void main()
vec3 pos = vary_position;
color.a = final_alpha;
#ifndef IS_HUD
color.rgb = srgb_to_linear(color.rgb);
color.a = final_alpha;
#ifdef IS_ALPHA
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