!
This commit is contained in:
parent
bce313c1d3
commit
a7fbf53ba0
@ -11,7 +11,6 @@ anchor_bottom = 1.0
|
||||
script = ExtResource("1_ui55j")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 1901.0
|
||||
offset_bottom = 1146.0
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c58wsmkklb7wq"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://d25c4ey6gvduc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cg848qjc4fxi" path="res://Images/Main_menu.png" id="1_65g7h"]
|
||||
[ext_resource type="Script" path="res://start.gd" id="1_exncb"]
|
||||
|
Loading…
Reference in New Issue
Block a user