- Home /
In which format does Unity read vertex colors from .obj files?
I couldn't find a definition for vertex colors in .obj files. Some exporters write additional lines per vertex, starting with 'vc'. Wikipedia suggests to write 3 additional values at the end of each 'v' line. I tried both but without success. I am sure I used a shader that would show vertex colors (it did on another mesh).
My question: Which format for vertex colors in .obj files actually gets read by Unity?
Answer by lakex24 · Dec 20, 2015 at 11:21 AM
I used MeshLab to export in .dae format (for some reason .obj vertex color couldn't show up in Unity for me)
Then you have to choose the mesh you imported into Unity, change the shader to "Vertex Colored" for its material.
Your answer
Follow this Question
Related Questions
loading mesh from .obj-file by script 1 Answer
Mesh deformed? Tried re-import... 1 Answer
Importing Objects 1 Answer
Manually loading .obj file, issue understanding UVs 0 Answers