Added new HUD for bed timer

This commit is contained in:
akshay committed 2022-08-21 10:16:24 -04:00
1 parent 2bd6bc1c4e
commit fc58d4590f
11 files changed
+190 -17

No files matched your search

+1 -1
View File
@@ -15,5 +15,5 @@ void fragment() {
float angle = atan2((UV.y - 0.5) , (UV.x - 0.5));
float alpha = step(percent * 3.14159 * 2.25, angle + 3.14159);
vec4 color = texture(TEXTURE, UV);
COLOR = vec4(color.rgb, color.a * alpha);
COLOR = vec4(color.rgb, 1.0);
}