Skip to main content

Painting Masks

You can create and hand-paint masks using the Paint Mask tool in the toolbar.

You can have as many masks as you want. They don't have any runtime cost.

You can swap between foreground/background brush values using 'X' shortcut on keyboard. Brush size can be changed using '[' and ']' shortcuts.

The color and height of the overlay can also be changed.

PaintMaskWidgetImage

Using hand-painted masks in Material Masks

You can use hand-painted masks as inputs in sub-biomes and species with the Biome Mask Sample Node

Set the name of the mask you want to sample as the node's name.

Mask Sample Node

Showing/Hiding masks

You can show either all possible mask assets or chose to show only masks that were already painted on the current map by clicking on the settings gear icon next to the search bar.

Image showing selection of what masks to show

You can also filter masks by their names, visibility or type.

Image showing mask filtering

To choose which masks are drawn click on the eye icon.

The selected mask is the one that you'll be drawing and is always shown

Image showing mask filtering

Value Preview

You can enable mask value preview by checking the Visualize Values property.

With this enabled the values of the masks will be drawn as numbers on top of the mask.

Value Mapping

By default, we visualize the 0 to 1 range of mask values.

In some instances it might be beneficial to store values in different ranges, going above one and below zero.

To visualize those values you can change Min/Max in the Value Mapping section to your new floor and ceiling values.

You can even use custom-defined curves to help in that task.

Saving Brushes

You can save your painting configuration to re-use it later or to share it with your team-mates.

First create/select asset, from Brush Preset list, change your settings, and press Save changes to currently selected brush preset disk icon.

Changed values aren't automatically saved to the preset asset, you need to press save manually

To re-use the brush select it from the Brush Preset list.