first examples

This commit is contained in:
Luca 2024-12-19 14:04:09 +01:00
parent a01a7a7acc
commit 2219e943da
33 changed files with 785 additions and 6 deletions

View file

@ -0,0 +1,12 @@
shader_type spatial;
uniform float waves = 3.0;
void vertex() {
// Changing the waves parameter changes how warped the sphere is
VERTEX.y += 0.5 + sin(VERTEX.x * waves + TIME * 4.0) * 0.35;
}
void fragment() {
ALBEDO = vec3(0.1, 0.2, 0.6);
}