Jamsers / Crater-Province-Level

A level meant to test and showcase Godot features and use cases for big and open worlds.
MIT License
43 stars 5 forks source link

Water shader #10

Open Jamsers opened 3 months ago

Jamsers commented 3 months ago

Need an actual water shader, but couldn't find one that worked for Godot 4. Any suggestions or pull requests for this welcome.

aryan-11825114 commented 1 month ago

These two seem pretty good

https://github.com/Flarkk/Godot-Water-Shader-Prototype?tab=readme-ov-file https://github.com/2Retr0/GodotOceanWaves

Jamsers commented 1 month ago

Thanks for the recommendations! I've tried Flarkk's implementation already - turns out it only works for the compatibility renderer. I'll try the 2Retr0 one, seems promising.

Jamsers commented 1 month ago

GodotOceanWaves works, but had problems with not having unified lighting with the rest of the scene - it seems custom built for the demo scene and doesn't hold up as well when used in other lighting scenarios. Also quite performance intensive. The waves look very impressive though.

The search continues!

aryan-11825114 commented 1 month ago

Maybe not as impressive as the GodotOceanWaves but I found two other, maybe worth looking into

https://github.com/Brandt-J/WaterShader https://stayathomedev.itch.io/godot-water-shader-v1

Jamsers commented 1 month ago

Thanks, I'll look into them!

I'm actually not looking for anything super fancy or impressive, I just need the water to generally look like water. In fact the simpler and more lightweight, the better!

aryan-11825114 commented 1 month ago

Maybe not as impressive as the GodotOceanWaves but I found two other, maybe worth looking into

https://github.com/Brandt-J/WaterShader https://stayathomedev.itch.io/godot-water-shader-v1