useLargeWorldRendering doesn't work well with water material

Hi @georgie and @Evgeni_Popov

I a problem with the water. The water material has artifacts that I don’t know how to explain.

In the PG if you point the camera in different directions you will be able to see the problem. Water is not the color it should have.
If you move it, you will also be able to see the problems :

For example for water on my project it looks like this with useLargeWorldRendering enabled.

And if I don’t enable useLargeWorldRendering, the water looks like this.

Hey! Working on an alternate fix should have one later today :slight_smile:

2 Likes

Here is the fix!
[FloatingOrigin] Support clip planes, skymaterial, and water material by georginahalpern · Pull Request #17398 · BabylonJS/Babylon.js

2 Likes

Yes, the water is perfect now. Thank you very much.
I just noticed another problem with the sprites. I’m going to open a new topic for this.

2 Likes