Masks (SDFs)

Overview

Attach the "Mask" script to a game object to use it as the world dissolve mask.

Type: (automatically updated by the world dissolve scrip) Type of world dissolve mask (SDF used).

Type: Automatically updated by the World Dissolve script. Specifies the type of world dissolve mask (SDF used).

SDFs Types:

  • Plane

  • Box

  • Sphere

  • Ellipse

  • Solid Angle (Requires controlling the angle and adjusting the collider/preview mesh to the angle of the solid angle cone)

  • Round Cone (Utilizes two additional transforms to control the shape)

  • Mask Settings: Settings asset. You can control the appearance of gizmos, preview, etc.

Preview

You can toggle off the preview (3D mesh with custom material) for better visualization of the mask. If set to "Only Editor Preview," the preview is disabled when the game starts.

Auto Detection

If auto detection in the World Dissolve is enabled, you need to add a collider to the mask.

You can control collider scale, angle adjustment (for solid angle), and radius adjustment (for round cone). Refer to Auto Detection for more information.

Last updated