My first 3D game with Godot 4.4

This commit is contained in:
2025-08-18 18:48:02 -04:00
commit aef6af1eca
89 changed files with 10495 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
shader_type spatial;
render_mode ambient_light_disabled, shadows_disabled, unshaded;
uniform vec3 tail_color : source_color;
uniform vec3 head_color : source_color;
void vertex() {
float def = sin(UV.y * 2.0 * PI - TIME * 20.0) + 1.0 / 2.0;
VERTEX.xz += NORMAL.xz * def * 0.05 * UV.y * COLOR.x;
}
void fragment() {
ALBEDO = mix(head_color, tail_color, COLOR.x);
}