This commit is contained in:
MarcEricMartel
2023-01-15 15:14:17 -05:00
parent bce313c1d3
commit a7fbf53ba0
3 changed files with 2 additions and 3 deletions

View File

@@ -4,6 +4,6 @@ uniform float fill;
void fragment() {
if ((fill + 0.5) * 0.5 >= 1.0 - UV.y)
COLOR = vec4(0.1, 0.4, 0.4, texture(TEXTURE, UV).a);
COLOR = vec4(1, 1, 0.1, texture(TEXTURE, UV).a);
else COLOR = texture(TEXTURE, UV);
}