I've been trying to import my full-color obj files to unity for a while now, but I can't get them to be in color. All of the colors show up in Meshlab, but not in Unity. All of the youtube videos I have watched have said that I need some sort of texture file but my obj doesn't have one. It is just the obj and it somehow has color in Meshlab. Is there some sort of setting I need to change in Unity? If I need a texture file for it to work, is there a way I can extract the texture file(s) from the obj?
Asked
Active
Viewed 920 times
0
-
3It sounds like you're using a material/shader that does not use vertex colours. The default material in Unity doesn't read that data channel. Have you tried using a material with vertex colour support? – DMGregory Feb 10 '21 at 20:59
-
I am new to unity, so I don't know much about textures. I don't know what vertex color support is, so I don't know if it applies to what I'm doing. I forgot to mention that I'm trying to import 3d scans which when I download it, I only get an obj. – Logan S. Colon Feb 10 '21 at 22:08
-
That's why I'm linking you to a shader you can use directly. – DMGregory Feb 10 '21 at 22:13
1 Answers
0
Thanks for the link. It did not work with .obj. But after I open the obj in MeshLab, exported as .dae and imported to Unity, it worked!

Chuanchu Wang
- 1
- 1
-
Remember to mark this answer as Accepted if it worked for you, by clicking the checkmark icon to the left of the answer. – DMGregory Jul 06 '23 at 11:31