Water for underwater environment

Hello all,



I’m looking into how to generate water. I’ve run the TestSimpleWater example but the water is not visible if you dive.

Is there some example on how to show the water and block everything out of the water, after diving?

TestPostWater.java

This is perfect thanks!

I noticed the difference between TestPostWater and TestPostWaterLake, speed-wise. I guess I should be careful water effects I turn on.