Skip to content

Splatoon-like painting in unity on any-shape mesh colliders, with some edge handling

Notifications You must be signed in to change notification settings

lukakostic/UnySplat

Repository files navigation

UnySplat

Splatoon-like painting in unity on any-shape mesh colliders, with some edge handling.

Left click - raycast paint (center of screen)

Right click - throw tomato (paint blob)

It just boils down to:

  1. Make a good UV map (no overlapping faces)
  2. Raycast and get raycasthit.textureCoords
  3. Extract x and y components and use SetPixel to paint
  4. Add some paint randomization and spread, and some other stuff to make it look nicer

splatoon

About

Splatoon-like painting in unity on any-shape mesh colliders, with some edge handling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages