Layer mask

2D Mask  -  Turn any 2D generator into a mask

TextureLayerTextureMask TextureLayerTextureMask TextureLayerTextureMask TextureLayerTextureMask

A layer mask can turn any TextureGenerator Icon 2D Generator (including ImageFileTextureGenerator Icon Image Layer or VideoFileTextureGenerator Icon Video File ) into a TextureMask Icon 2D Mask . Here for example, a mask based on DotsTextureGenerator Icon Dots :

LayerMaskExample LayerMaskExample

The Compo Mask command is a shortcut to create a layer mask based on a Compo Icon Compo . This enable to use multiple TextureLayer Icon 2D Layer to define the mask and even to define the mask using GeometryLayer Icon 3D Layer .

Here is an example of a mask defined through a GeometryLayer Icon 3D Layer :

3DCompoMaskExample 3DCompoMaskExample


Variables:

  • Generator: Select the TextureGenerator Icon 2D Generator
  • Color Selector: A selection criteria over the RGBA colors of the TextureGenerator Icon 2D Generator
  • Loading: The loading status of the color selector . It can be loaded , enabled by not loaded or unloaded
  • Activation: The activation status of the color selector . It can be active , enabled by not active or inactive
  • Color Label: Associate a color label to your color selector to make it easily locatable
  • Solo: Activate this to keep only this color selector active and hide all otherin same location
  • Editable: The editabiliy status of the color selector . It can be locked directly , locked indirectly or editable
  • Preset: Select a preset to apply on the color selector
  • Status: Warnings and errors associated to this color selector

Python

    Oil.createObject("TextureLayerTextureMask")