Language:
Page Info
Tags:
Engine Version:

Visibility

Choose your OS:

The Visibility tool enables you to mask out (create holes) in parts of your Landscape, for areas such as caves.

Using the Visibility Tool

In this example, the Visibility tool is used with a Landscape Material that has been setup to use a Landscape Visibility Mask. This enables parts of the Landscape to be painted invisible or visible so that you can add in caves with additional Static Mesh Actors. This demonstration shows painting the invisibility and then repainting the visibility.

Use the following controls to paint masked or to unmask areas of visibility for your Landscape:

Controls

Operation

Left-Click

Adds the visibility mask, making the Landscape invisible.

Shift + Left-click

Removes the visibility mask, making the Landscape components visible again.

Before

After

In this example, the Landscape Hole Material has been used to paint invisible (or masked out) areas for the Landscape. When painting masked out areas, you only get an on or off state, so there is no way to have a transitional gradient from fully masked to unmasked.

Using Opacity Mask to Create a Hole

Although you can use the sculpting tools to create a vertical holes in your Landscape, you may find that you also want to create horizontal ones, such as ones for caves. You can do so by using opacity masking to "paint" away the visibility of a section of your Landscape with the Visibility tool.

In order to paint away the visibility of a section of your Landscape, you must set up the Landscape Material correctly using a Landscape Hole Material. For information about setting this up properly, you can read about Landscape Hole Materials here.

If you use the Visibility tool without having a Landscape Hole Material assigned, the Visibility tool will remove the Material layers applied to the selected sections, but will not create a hole in the Landscape itself.

After you have set up your Landscape Hole Material, you can use the painting tools to create a hole in your Landscape.

To create a Landscape hole:

  1. Make sure you have a Landscape Hole Material assigned to your Landscape.

    LSHole_Details.png

  2. In the Landscape tool, in Sculpt mode, select the Visibility tool.

    Visibility Tool

  3. Find the location on your Landscape where you want to create a hole.

    Landscape_MountainNoCave.png

  4. Adjust the brush size to the size you want to use.

    Landscape_MountainCaveMask.png

  5. Left-click to create the hole and Shift + Left-click to erase a hole that was created.

    Landscape_MountainHole.png

    You can now fit Static Mesh Actors in the hole in the Landscape to create a cave.

    To test out the collision of the new hole using Play In Editor (PIE), you may have to switch from Landscape mode to Place mode.

Tool Settings

Visibility Tool

There are no tool settings specific to Visibility that can be adjusted in this section. Follow the steps to setup a proper Landscape Hole Material (detailed above) and use the paint to controls to draw in your masked areas.

If you do not have a Landscape Hole Material assigned to your Landscape, you will see the following warning in Visibility tool panel under Target Layers:

VisibilityToolWarning.png

Tags