Masking out water

Water is masked out of the boat hull interior

There are two ways of masking out water:

  1. Using M_WaterInvalidator material that gets water removed from the volume covered by the mesh it is assigned to. Mesh should be ceiled.

  1. Using distance field mask that is added to the M_PlanetOcean but is unused. Plug the Mask out Water variable into the Opacity Mask input in the root node.

This mask removes water wherever the distance field is negative, meaning it affects the interior of the mesh. Use the Mask Offset parameter to adjust the mask's position. Ensure that the distance field is enabled on the mesh you want to exclude water from.

Last updated

Was this helpful?