fix wind and make compatible wind_decoration

This commit is contained in:
2026-06-03 10:59:46 +02:00
parent afbda265b6
commit 243f89d9d2
4 changed files with 73 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ void fragment() {
} else {
vec2 projected_xz = world_pos.xz + (world_pos.y * sun_angle);
vec2 uv = projected_xz * cloud_scale;
uv += TIME * cloud_speed * direction;
uv -= TIME * cloud_speed * direction;
float n = texture(noise_texture, uv).r;
@@ -71,4 +71,4 @@ void fragment() {
}
}
}
}
}