Merge main at cce9ada while retaining the saved bake repairs and layout. Resolve docking, module, and viewport overlaps with the new Assets shelf and tool-availability behavior.
- Global blur, balance and contrast on every generator (GeneratorGlobal).
The blur blurs only the generator's own value, up to a 64-texel radius
at 2K, weighted by mesh coverage; balance picks the input range that is
stretched to 0..1 and contrast narrows it; invert stays last.
- Output resolution (OutputResolution, ResolutionMode): Auto or UV tile,
Texture set or a custom size, times a factor from 1/8 to x8, never
coarser than one value per 64 texels. Below the UV tile's resolution
the generator is averaged over cells and read back bilinearly.
- Image inputs: each mesh map a generator reads can read an image, a
uniform value or an anchor point instead. Generator inputs count as
anchor and image readers (compositing order, paste, remove unused).
- Blur and resolution run as a neighbourhood stage of the mask, listed
the same way by every caller and only in masks.
- Commands: blur, balance, contrast, resolution, customResolution,
resolutionFactor on effect.add.generator / effect.set, and input with
inputImage / inputValue / inputAnchor / inputBaked on effect.set.
New fields are skipped when they hold their defaults and neutral settings
return the value untouched, so saved projects load, save and render as
before.
Above the bake bar, bake mode lists what would spoil the next bake of the included
texture sets: a UV layout overlapping by more than 1%, and under "By Mesh Name" the
low-poly parts no high-poly part matches and the high-poly parts that match no low-poly
part. The pairing comes from the bake's own name keys, now one helper the bake and the
list share.
Session::tool_usable answers per tool: brushes and Path act on paint layer
content, paint sublayers, masks and the quick mask while it is edited; fill
content, filters, generators, folders, instances and an empty selection take
none of them. Smudge and Clone can't paint mask values yet. Path also edits a
selected path sublayer, wherever it is. The color picker always acts; the
geometry mask needs a layer.
Share visualization settings between scene shading and GPU sync, and use then_some for the conditional low-poly pass. Cover per-set distances, selected-set filtering, missing inputs and ownership with engine tests.