Added new HUD for bed timer
This commit is contained in:
1 parent
2bd6bc1c4e
commit
fc58d4590f
11 files changed
+190
-17
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user