This page has been translated automatically.
Video Tutorials
How To
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Extending Editor Functionality
Built-in Node Types
Light Sources
World Nodes
Sound Objects
Pathfinding Objects
Setting Up Development Environment
Usage Examples
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
Double Precision Coordinates
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Art Samples

Mask Editor

UnigineEditor provides a useful tool for painting image masks directly in the scene — Mask Editor. It allows editing the existing image masks and creating new ones.

See Also#

Creating Mask with Mask Editor#

To create a new image mask by means of Mask Editor:

  1. Run UnigineEditor.
  2. Add Grass, Mesh Clutter or World Clutter to the scene by choosing the required object via the Menu bar (the Create menu item).
  3. Specify all required settings for the added object.
  4. In the World Nodes window, select the created Grass, Mesh Clutter or World Clutter node.
  5. In the Parameters window, click next to the Mask Image field.

  6. Specify the size of the mask in the window that opens and click OK.

  7. In the file dialog window that opens, specify the mask name and format, choose the folder within your project to save the mask and click OK. An empty image mask will be created.

Editing Mask with Mask Editor#

To edit an image mask by means of Mask Editor:

  1. Click next to the Mask Image field.

    Mask Editor will open.

  2. Specify the required brush settings.
  3. Hold Alt + Left Mouse Button to paint the mask in the scene.

Mask Editor Options#


Available modes:

  • Replace — replace pixel values of the image mask with the current values set for the brush.
  • Add — add pixels to the image mask (in other words, add areas to the image mask where grass or clutter objects should be placed).
  • Subtract — subtract the current values set for the brush from pixel values of the image mask.
  • Smooth — blur pixels of the image mask, making boundaries softer.
  • Erase — erase pixels of the image mask.

Shape of the brush:

  • — Circular shape.
  • — Square shape.
  • Custom brush. The texture is loaded using the additional button .
Size Size of the brush.
Color Color of the brush.
Intensity Intensity of the brush.
Opacity The rate to apply the brush.
Sharpness Tip of the brush. The lower the value, the sharper and smaller the tip. The higher the value, the flatter and bigger the tip.
Step The distance between the brush marks in a stroke, in pixels.
Last update: 2021-06-24
Build: ()