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
Rto randomize each surfaceFto fill each surface with selected colorLeft Clickto paint surface with selected colorRight Clickto paint surface with random colorShift + Left Clickto pick the color of the surfaceClick + Dragto paint multiple surfacesEscto 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 💛


