Unity 6 HDRP Water / Ocean underwater clipping problem

Hi all,

Maybe it’s limitation, but there is problemen with the Unity 6.0 HDRP WaterSurface and the camera near-clipping when using the “underwater” option. When the waterline and camera is very close to each other and you are looking downward, all the lighting and underwater effects seem to disappear for a few frames (see images below).

No problems:

Problems after rotating the camera a bit more:

This problem also exists in the samples scenes provided by Unity with de HDRP package. This “clipping problem” is not suited for anything useful.

I hope somebody has a solution to this problem, thanks!

In the past we had a more robust waterline algorithm but for to performance we decided to go with the cheaper option. That means, in some niche cases like this, the system will have limitations.

In addition, there’s a reason why the near plane default is 0.3m, and the max 1km.
With a range that big (1cm, 10km) on your camera frustum, there’s definitely going to be some precision issues.

Thank you for the reply. In that case I will leave this problem be.

1 Like