Utility for vertex coloring
While working on game assets at HypeHype, I recognized that artists needed to convert material assignments into vertex colors to use them in shaders but there was a real problem: Blender doesn't have a built-in way to do this, and for some reason, no one had really automated the process. It was all being done manually, face by face, color by color. This took a lot of time and effort, especially on larger models.
So I wrote a script in Python that does it automatically. It loops through the mesh, checks the material slot IDs, and assigns vertex colors based on those. If there are no materials on the object, it just sets everything to black by default so nothing breaks. It also sets the viewport to display the new vertex colors right away, so there's no confusion about whether it produced the desired results.
It's a small utility, but it solves a real production problem. I built it to make life easier for artists and to help streamline asset prep for game-ready exports. Tools like this are part of my ongoing effort to combine my knowledge of 3D art and game dev with Python scripting to improve everyday workflows.