Paint Tool — runtime painting for Unity 

Drop a component on a mesh and paint it — with the mouse, or with a moving object that leaves a colour trail.

Try the demo

  1. Open Scenes/Demo and press Play.
  2. Hold Left Mouse and drag to paint.
  3. Click the colour buttons to change colour.
  4. Demo scene is in URP, but the tool should work with Built-in renderer

Make your own mesh paintable

  1. Add a Collider and a PaintCanvas to the mesh.
  2. Set Surface Renderer to the mesh's own renderer.
  3. Leave Bind To Surface on.

Paint on it

  • MousePainter — paints where you click. Give it the camera, a brush and a colour.
  • PlayerPainter — put it on a moving object; it paints beneath itself. Set Surface Mask to your floor layer.

Brushes

  • A brush = a Footprint texture (shape) + a Half Size in metres.
  • Texture: shape in the alpha channel, transparent background, Wrap Mode Clamp.
  • Cycle Hue on PlayerPainter = a rainbow trail.

Requires

  • Unity Input System package.
  • Free, MIT licence. Consider donation
Published 8 days ago
StatusReleased
CategoryTool
PlatformsHTML5
Authorolviia
TagsColorful, Drawing, Painting, Shaders, Unity

Download

Download NowName your own price

Click download now to get access to the following files:

PaintTool.unitypackage 190 kB

Leave a comment

Log in with itch.io to leave a comment.