Since my last update I have been tweaking different aspects of the water shader. Here is a new video showing my latest progress:
I have slighly adjusted the look of the surface to make it appear more liquid. Also, the number of Gerstner waves that are summed up was increased. The water plane is now moved and scaled with the camera to create the illusion of an infinite ocean. The buoyancy is implemented in a buoyancy component that makes the objects float automatically without any manual setup. The floating boxes in the video are rotated according to the local normal vector of the water surface. This only looks good for very small objects. I will also implement a buoyancy system for larger objects with automatic generation of test points.
I still have a small list of things that I want to implement before I submit the shader to the Marketplace, but I’m getting close!