Importing .obj files with RGB data

I want to import and render a .obj file in Unity. The vertices in the .obj file also have RGB data associated with them. I know how to import and render the .obj, but I don’t know how to texture it with the correct RGB data. Can anyone help?


@AlwaysSunny is correct; to render vertex colours assigned to a mesh, you need to assign a shader to the material that makes use of them. The built-in “VertexLit” shader will do just fine (in Unity 5 you’ll find it under Legacy Shaders/VertexLit)