DrawMask¶
Loads and saves texures. The modification of textures is only black and white. The main purpose is the use for mask in combination with Texture-Effect-Nodes.
The saved texture will be a PNG.

Create Custom Masks for Texture Effects
DrawMask provides a simple black-and-white drawing editor for creating alpha masks. These masks can be used with texture effect nodes like ShaderTexOP to control where effects are applied, hide projector overlap regions, or create custom vignettes.
Reference¶
The following properties can be configured for this node:
| Property | Type | Description |
|---|---|---|
image file |
- | load image (TIFF. GIF, JPEG, PNG) and save mask |
filewatch |
- | reloads texture automatically if file changes. |
dimension |
- | default dimensions. used to create default mask. |
planes |
- | The loaded image is a black and white-texture. This has to be transformed into a ARGB-texture and the planes defines how the black/white values are set for a 4-channel ARGB texture. |
edit |
- | sets the focus of the editor window to this node |
render pass |
- | render pass. default is a manual render pass since the loaded texture needs only passed on once because of its static nature. |
| Inlet | Type | Description |
|---|---|---|
| properties | properties | properties | use message [set <propertyPath> <value(s)>] (without node/<nodeName> at the beginning) to set internal properties |
| Outlet | Type | Description |
|---|---|---|
| texture | texture | texture out |
Plane Modes¶
Understanding Plane Settings
The planes property controls how black/white values are mapped to ARGB channels:
| Mode | Alpha | Red | Green | Blue | Use Case |
|---|---|---|---|---|---|
| mmmm | mask | mask | mask | mask | Grayscale mask affecting all channels |
| mwww | mask | white | white | white | Alpha-only mask (common for transparency) |
| wmmm | white | mask | mask | mask | RGB mask with full opacity |
Choose based on how your target effect node interprets the mask texture.
DrawMask Editor Controls
The DrawMask editor has three modes: Line, Polygon, and Color. Press Tab to cycle between modes.
General Controls:
| Key | Action |
|---|---|
| Tab | Cycle through edit modes (Line → Polygon → Color → Line) |
| H | Toggle help overlay |
| S | Save mask to file |
| Space | Swap foreground/background colors |
Line Mode — Freehand drawing:
| Key | Action |
|---|---|
| Set starting point | |
| - drag | Draw continuous line |
| Up | Increase line thickness |
| Down | Decrease line thickness |
Polygon Mode — Filled polygon drawing:
| Key | Action |
|---|---|
| Add polygon vertex | |
| Enter | Complete polygon and start new one |
| Space | Finish current polygon (swaps colors) |
Color Mode — Canvas operations:
| Key | Action |
|---|---|
| C | Clear entire canvas |
Workflow¶
Creating a Mask
- Set
dimensionto match your target texture size - Click
editto open the drawing editor - Use Line mode for freehand edges or Polygon mode for filled areas
- White areas = visible/applied, Black areas = hidden/masked
- Press
Sto save the mask as PNG - Connect the texture outlet to your effect node's mask inlet
Important Notes¶
Save Your Work
After modifying the texture with the editor, you must press S to save. Changes are not automatically saved and will be lost when the project is closed.
-
Quick Start
Get started with DrawMask in minutes
-
Complementing DrawMask
-
Tutorials
-
Community
Need help or want to suggest improvements?
Last updated: 2025-12-01 | Edit this page on GitHub