Simple PS1-style Water For Godot4, easy shader.
ฝัง
- เผยแพร่เมื่อ 18 พ.ค. 2024
- I saw many tutorial videos of people trying to explain how to make water for Godot4 and they were overcomplicating the process and doing 7 hour videos about it. Instead here's an extremely simple way of making water in two minutes with a shader and just two lines of code. Good for a PS1 or Quake style game where you don't need all the bells and whistles.
The code is as follows:
VERTEX.y += 0.02*sin(1.5*TIME + 200.0*VERTEX.x);
VERTEX.y += 0.02*sin(1.5*TIME + 200.0*VERTEX.z);
I hope this was helpful! :) - เกม
Great and simple video that's quick to the point. I can now finally achieve my lifelong dream of drowning my entire digital town in a pool of water. Thanks!