get background (hit area) animations working

This commit is contained in:
msk committed 2023-09-29 22:37:40 -07:00
1 parent 5a9278e8aa
commit 72e789c099
7 files changed
+114 -36

No files matched your search

+1 -4
View File
@@ -7,9 +7,6 @@ void fragment( )
vec4 mask_color = texture(mask, UV).rgba;
vec4 sprite_color = texture(TEXTURE, UV).rgba;
if (mask_color.a == 0.0)
{
sprite_color.a = 0.0;
}
sprite_color.a = mask_color.a;
COLOR = sprite_color;
}