Updated simple grass shader to support bending

Got my Godot grass shader that bends when player /npc walks through. Supports up to 10 objects at the same time. Steam deck performance does not tank. However, I wonder why global shader parameters do no support passing arrays? I had to create 20 different variables to support 10 nodes

2 Likes

I also made chunk streaming all in c# multithreaded. That can load world chunks as you walk. But I could upload a demonstration video. It also seems to work fine on steam deck. There frame spikes when it puts objects on the scene, but I don’t think it’s noticeable for a player.

The only disappointment I have is that Godot engine refuses to give you object coordinates in separate thread which would allow me to implement lazy loading, E. G. Sort objects by distance to a player. I could probably hack into scene file, but that becomes too complex. In this case it’s easier to compile modified engine, but then it’s even harder to upgrade Godot :sob: