I find myself spending a tremendous amount of time preparing my models for export into substance painter. It seems like a macro and or script would be able to do this no problem. Unfortunately my Python skills are non existent, but I would love to learn. My process is fairly straight forward.

  1. I select an object / mesh that has multiple components in Object Mode. Then switch to Edit Mode.

  2. Select a pieces verts using L.

  3. Switch to Vertex Paint Mode making sure Face selection masking for painting is on.

  4. Select a random color and hit Shift + K to fill selection with color.

I usually end up with something like this.. enter image description here

This allows me to generate an ID map within substance painter. It is the quickest way I've found to generate these maps for texturing.

My searches have brought up random vert colorization, but nothing like what I'm describing. Maybe I'm using the wrong terminology?

Any help with this would be greatly appreciated!


1 Answer 1


Thank you @Mr Zak, you got me pointed in the right direction. Going through the first links github, I found this... https://github.com/varkenvarken/blenderaddons/blob/master/connectedvertexcolors%20.py … It adds an option to fill each piece of the object with a random color while in vertex paint mode. Thanks!


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .