Shader for Transparent Water with Screen Space Reflections and Refraction 1.1 Shaders 4.3 Community
Submitted by user marcelb; MIT; 2024-09-16
This intends to solve the problem that the SSR (Screen Space Reflection) implementation of Godot 4 is limited to surfaces that are not transparent. For a water shader it is often necessary to support both transparency and reflections. In a lot of cases this can be worked around with reflection probes, but the need for SSR stands, especially because SSR works quiet well for water. The only solution is to write a custom SSR shader for that matter.
This is a full water shader implementation supporting:
- Screen Space Reflection
- Transparency
- 3D waves
- Edge detection
- Normal textures for a varied surface
- Fake refraction
View files Download Submit an issue Recent Edits