Surface ID Mapper is a utility for automatically assigning vertex colors to mesh surfaces in Unity.
-
Open the package manager and select the
Install package from git URL...
option found under the top left dropdown. -
Enter the following link
https://github.com/alexanderameye/surface-id-mapper.git
. -
Click
Install
.
Select a mesh renderer, and click on the button that appears in the scene view to paint it.
Actions and Shortcuts
R
to randomize each surfaceF
to fill each surface with selected colorLeft Click
to paint surface with selected colorRight Click
to paint surface with random colorShift + Left Click
to pick the color of the surfaceClick + Drag
to paint multiple surfacesEsc
to leave painting mode
For each painted gameobject, a Additional Vertex Stream
component is added which stores the vertex colors. The source mesh is not modified.
- Not tested in production. Use at your own risk.
- The code is messy. Use at your own risk.
- Painting on very large meshes can be slow. Use at your own risk.
- Clean up code
I am not providing support for this package.
@ameye.dev • https://ameye.dev
💛 Feeling appreciative of this free package? Check out Linework 💛