In the 'flat' branch, I created an Ocean class. The ocean has reflection right now, but the reflection only works correctly when the camera's under water view is not obstructed by under water terrain. We need to cull the under water objects.
I have not implemented refraction. I think we only need alpha value here.
It turned out I have implemented FFT ocean before, but when I tested it, the result does not look good.
I would consider take some time putting them back and see whether that looks better.
In the 'flat' branch, I created an Ocean class. The ocean has reflection right now, but the reflection only works correctly when the camera's under water view is not obstructed by under water terrain. We need to cull the under water objects.
I have not implemented refraction. I think we only need alpha value here.