Portals & Volumes

The water volume can be rendered from a provided mesh which will effectively become a portal (2D) or volume (3D). Change the Mode property to one of your choosing and set Geometry to a Mesh Filter (it will use its transform). This feature also clips the water surface to match. A common use case would be portholes (use Portal and Invert) or an aquarium (Volume).

Usage

Everything pertaining to portals is located at Water Renderer ‣ Portals.

  1. Add a MeshFilter to the scene and assign a mesh

  2. Assign MeshFilter to Water Renderer ‣ Portals ‣ Geometry

  3. Enable Water Renderer ‣ Portals ‣ Enabled

From here, choose a mode. The different modes are:

  • Portal: Renders the water volume and surface from the geometry’s front-face and behind it infinitely.

  • Volume: Renders the water volume and surface from the geometry’s front-face to its back-face.

  • Volume (Fly-Through): Renders the water volume and surface from the geometry’s front-face to its back-face - even from within the mesh.

  • Tunnel: Removes water volume and surface using the mesh’s front and back faces.

Limitations

  • Only one mesh can be used at a time.