# Masks, decals and projection painting

> This lesson shows three ways to control texture paint in PetalMesh. A layer mask limits where a layer shows, and each mask source can be flipped on its own. A decal stamps a ready-made shape onto the surface. The Clone brush copies a decal to another place on the model.

URL: https://petalmesh.com/tutorials/masks-decals-and-projection-painting
Last updated: 2026-12-03

Level: Advanced
Track: Painting and materials (https://petalmesh.com/tutorials/track/painting-materials)
Duration: 2:04
Video: https://petalmesh.com/videos/25-masks-decals-and-projection-painting/lesson.mp4?v=2026-12-03-124 (narrated, with captions)
Transcript file: https://petalmesh.com/videos/25-masks-decals-and-projection-painting/transcript.md?v=2026-12-03-124
Published: 2026-12-03
Updated: 2026-12-03

## What you will be able to do

- Limit a paint layer with a position mask
- Combine mask sources and flip one with its inv chip
- Stamp a decal from the decal gallery
- Copy a decal to another spot with the Clone brush

## Before you start

- [Apply a ready-made material](https://petalmesh.com/tutorials/basic-materials-and-texturing.md)
- [Basic painting](https://petalmesh.com/tutorials/basic-painting.md)
- [Layer painting: colour, roughness and metal](https://petalmesh.com/tutorials/pbr-layer-painting.md)

## Chapters

- 0:00 A sphere with a paint layer
- 0:13 Limit a layer with a position mask
- 0:26 Add noise to break up the edge
- 0:36 Flip one source with inv
- 0:46 Open the decal gallery
- 0:57 Stamp a decal
- 1:07 A decal is a layer group
- 1:15 Pick the Clone brush
- 1:26 Set the clone source
- 1:35 Paint a copy
- 1:48 What clone can read

## Transcript

### 0:00 A sphere with a paint layer

This sphere already has a quick material and a paint layer with a painted red band. Now we limit, stamp and copy paint.

### 0:13 Limit a layer with a position mask

Open the Layers tab. On the paint layer, add a mask source called position, and set its axis to X. The band now fades from one side to the other.

### 0:26 Add noise to break up the edge

Add a noise source as well. Mask sources multiply, so the noise breaks up the fade.

### 0:36 Flip one source with inv

The chip marked I N V flips this one source only. The fade turns around, and the noise stays the same.

### 0:46 Open the decal gallery

Now a decal. Open the Assets menu, choose Artist, then the Decals tab, and pick the star.

### 0:57 Stamp a decal

Press Place decal, then click the model. The star is projected onto the surface at that point.

### 1:07 A decal is a layer group

The decal lands in its own layer group, above the material and below hand paint. Hide it or remove it any time.

### 1:15 Pick the Clone brush

Back on the Properties tab, choose Clone. Set the source to the decal group.

### 1:26 Set the clone source

Press Set source, then click the middle of the star.

### 1:35 Paint a copy

Now paint a small circle somewhere else. A copy of the star appears in a new Clone group. The box at the bottom left sums up the stroke.

### 1:48 What clone can read

Clone and smudge read generated groups, such as decals. They cannot read hand painted layers yet.

## Questions

### What is the difference between inv and invert on a layer mask?

A mask can have up to four sources, and they multiply. The inv chip on a source flips only that source. The invert chip under the list flips the whole mask.

### Can I clone or smudge paint I painted by hand?

Not yet. Clone and smudge read generated groups such as decals, projections and wear. Reading hand-painted layers exists only in an early engine that is still being tested and is not released.

### Why is my decal hidden under my paint?

Decals sit below hand-painted layers in the stack. Place the decal where you have not painted by hand, or hide the paint layer to check.

## Limits and caveats

- Recorded, not yet reviewed.
- Clone and smudge cannot read hand-painted layers yet; they read generated groups such as decals.
- Project image needs a texture set first and is not part of this lesson.

## Links

- Watch the lesson: https://petalmesh.com/tutorials/masks-decals-and-projection-painting
- Docs: https://petalmesh.com/docs/painting.md
- Related: https://petalmesh.com/product/texture-painting
- Next lesson: [Smart materials and filter layers](https://petalmesh.com/tutorials/smart-materials-and-filter-layers.md)
