mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-30 10:03:56 +01:00
The stencil now shapes Paint, Eraser, Smudge and Clone strokes as well as Projection ones: its gray times its alpha masks the stroke, read from the viewport's point of view, and the tool keeps painting its own material. Only the Projection tool paints the image's colors. In the 2D view, where the stencil isn't drawn, only the Projection tool uses it, as before. The viewport shows the stencil and S + drag places it for every brush tool. Every brush tool gets the Stencil tab. Its section is a slot showing the stencil image (a click opens the picker of the project's textures with Import... first, × takes the stencil away, an image dropped on it becomes the stencil; the S-drag keys are its tooltip), a Tiling mode list (No Tiling, H and V Tiling) with a picture per mode, Scale, Rotation and Position X / Y stacked beside a picture of the view with the stencil placed in it, and Overlay opacity. The STENCIL caption's reset puts the stencil back in the middle of the view. The sliders change it through tool.stencil.