Almost shippable

This commit is contained in:
2024-09-17 04:39:01 -07:00
parent 9b8884d459
commit 27fa657f92
76 changed files with 3259 additions and 220 deletions

View File

@@ -0,0 +1,17 @@
shader_type canvas_item;
uniform float inner_radius = 0.1;
uniform float outer_radius = 1;
uniform float vignette_strength = 1.0;
uniform float dither_strength = 0.03;
uniform vec4 vignette_color: source_color;
void fragment() {
float dist = distance(UV, vec2(0.5));
float vignette = smoothstep(inner_radius, outer_radius, dist) * vignette_strength;
float dither = fract(sin(dot(UV, vec2(12.9898, 78.233))) * 43758.5453123) * dither_strength;
COLOR = vec4(vignette_color.rgb, vignette + dither);
}

View File

@@ -10,7 +10,7 @@
[sub_resource type="Resource" id="Resource_btp2w"]
script = ExtResource("2_xq68d")
RotationSpeed = 1.8
MoveSpeed = 2.5
MoveSpeed = 3.0
Acceleration = 1.0
CurrentHP = 100
MaximumHP = 100
@@ -375,12 +375,13 @@ shape = SubResource("BoxShape3D_hs4wf")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00341564, 1.40507, 0.645068)
cull_mask = 1048573
fov = 55.0
fov = 45.0
near = 0.001
[node name="OmniLight3D" type="OmniLight3D" parent="."]
light_energy = 4.183
omni_range = 83.659
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.57563, 0.620484)
omni_range = 16.633
omni_attenuation = 0.27
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true