Paint While Sculpting

·

Paint while sculpting makes one stroke do two jobs: as the brush moves the surface, it also lays colour and material values onto the points it reaches. The paint is shaped by the same falloff, brush image and stencil as the sculpt dab and held back by the same mask, and the whole stroke — shape and paint together — is undone with a single Ctrl+Z.

The Sculpt palette's Brush Settings with the Brush tool's 110 px radius and Paint while sculpting ticked, the colour line under it with a red foreground, the swap button, a white background and Enable BG paint; in the view, set to Vertex Colors, two Brush strokes across the mannequin's visor have raised ridges and painted them red in the same strokes, the brush ring still on the second
Paint while sculpting in the Sculpt palette, with its colour line underneath.

Turning it on

The switch sits in the Sculpt palette under the brush controls: an icon and a Paint while sculpting checkbox beside it — either one flips the same setting. It is off every time the app starts and is not saved, so a session always begins with plain sculpting.

The same switch also appears at the end of Brush Settings in the Paint palette while you are painting the mesh’s points. From there it works the other way round: Paint Brush strokes also sculpt, using the tool and Intensity chosen in the Sculpt tab.

What it paints

The stroke paints whichever channels are ticked in the Paint palette, each at its own value and strength:

  • Color / Albedo
  • the greyscale channels — Metallic, Roughness, and, where the material has them, Alpha, Height (bump) and Displacement
  • Emission

The two strengths stay separate: Intensity sets how far the surface moves, and each channel’s strength sets how strongly it paints. Hover the switch to see exactly which channels the next stroke will paint.

The Normal Map channel is never painted by these strokes. If it is the only channel ticked, the stroke sculpts and paints nothing.

A painted Height (bump) shades the surface as relief of the same depth however close you zoom, and as strongly on a small model as on a large one. Height and Displacement that a node material fills onto a sculpt keep 16-bit precision, so gentle slopes stay smooth instead of stepping in bands.

Foreground & background colours

With the switch on, a line of colour controls appears under it:

  • the foreground swatch is the Paint palette’s Color / Albedo — the same colour, and the same swatch history;
  • the swap button exchanges foreground and background;
  • the background swatch is painted where the brush image is black, while Enable BG paint is ticked, blending into the foreground through the image’s greys. It needs a brush image — the plain round brush has no black to fill;
  • an eye-dropper beside each swatch picks that colour from the model with your next click (in the Sculpt tab, that click sculpts nothing).

The line is greyed out while Color / Albedo is unticked in the Paint palette.

Where the paint goes

The paint lands on the mesh’s points, not on its textures. It works on both the Loaded Mesh and the Generated Mesh, whichever is on screen. A channel that has vertex-paint layers receives the paint on its active layer, exactly as a Paint-tab vertex stroke would; otherwise it goes into the mesh’s own vertex colours and material values.

To see the colour, turn on Show Vertex Colors (V by default). PBR Preview, when it is on, takes priority over that toggle.

Layer masks on vertex paint layers

A vertex paint layer can carry a layer mask, as a texture layer can — here one value at every point: white where the layer shows, black where it is hidden. A stroke still paints its full colour into the active layer, but on a masked layer that paint only shows where the mask lets it. The mask itself is never painted from the Sculpt tab.

Masks are made in the Layers window, whose title reads Vertex Layers - Loaded Mesh or Vertex Layers - Generated Mesh while the mesh paints its points:

  • right-click a layer for Add White Mask, Add Black Mask or Add Mask with a Smart Mask, or select it and press the mask button at the left end of the window's bottom strip, which also offers occlusion, cavity, curvature and edge maps measured at the points (cavity, curvature and edge in Ultra);
  • a Smart Mask is worked out at every point, and again over the new points when dynamic topology changes them;
  • the mask's thumbnail sits beside the layer's, a flat square of its average grey. Click it and the model shows the mask in grey; in the Paint tab the Paint Brush then paints the grey of its colour into it and the Eraser takes paint away, one undo step a stroke. Click the layer's name to go back to the layer.

The mask follows the points as dynamic topology adds and removes them. The Layer Mask strip at the top of the vertex Layers window is something else: the mesh's paint stencil, which holds paint back instead of hiding a layer (see The Material Mask (paint stencil)).

Limits

When the switch is on but the next stroke will not paint, the reason appears in amber under it. The cases are:

  • Grab Brush, Rotate Brush and Mask only sculpt — they have no dab to paint along.
  • No channel is ticked in the Paint palette (or only the Normal Map is).
  • With Dynamic topology on, channels that have vertex-paint layers are not painted yet — untick them, or turn Dynamic topology off.

From the Paint palette, strokes only sculpt as well with the Paint Brush tool, while painting the points, and not while Realtime Subdividing is on — the view then shows a subdivided copy of the model.