Added new house image to farming scene

This commit is contained in:
2025-06-21 16:09:35 +02:00
parent 58c65fc928
commit ccc4eb759e
5 changed files with 91 additions and 17 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ float getWind(vec2 vertex, vec2 uv, float time){
void vertex() {
vec4 pos = MODEL_MATRIX * vec4(0.0, 0.0, 0.0, 1.0);
float time = TIME * speed + offset;
float time = TIME * speed + sin(float(INSTANCE_ID) * offset);
//float time = TIME * speed + pos.x * pos.y ; not working when moving...
VERTEX.x += getWind(VERTEX.xy, UV, time);
}