Water Shader With Reflections?

Hi there!

I used to use the After the Flood water shader script from this demo here:

But while it still mostly works, it seems to have started accruing some errors as the playcanvas engine gets updated. Anyone has any suggestions of other water shaders with reflections out there that seem to be running smoothly as of 2023? Thanks in advance,


@LeXXik , have you got an updated version of this project?

Nope, unfortunately I don’t have an updated one. The API changed quite a bit. I moved the render target from layers to the camera, but I get some errors with the depth layer, where it tries to write to the active texture. Needs some time to look into, which I haven’t managed to find yet.

1 Like