- Home /
How can I view my UV map and the generated Light map UV
Hi everyone, How can I view the UV map and the generated Light Map of an obj or fbx I've imported into the editor.? Since I'm pretty new to Unity I was not able to figure this out, I couldn't find the answer in google either. I'm using 2019.3.4f1
Thanks in advance
Arun Bharathi
Can you able to describe this issue in details? so, other can understand your problem.
Regards, Phonix_$$anonymous$$
Answer by Bunny83 · Mar 08, 2020 at 01:16 AM
I haven't used it for ages so I'm not sure if it still works in the latest version of Unity. Anyways I've written a UVViewer in the past which you can try. Just create a file "UVViewer.cs" in a folder named editor inside your Assets folder. You should be able to open the UVViewer through "Tools -> B83 ->UVViewer". Just select a gameobject with a meshrenderer / skinned mesh renderer in the scene and you should see the UV map. You can select the different UV channels and a lot more.
Currently I don't have time to check if it still works. If you (or anyone else) got any problems with it, please let me know in a comment.
Well, I already see an issue ^^. I've included an embedded line shader back then. Unfortunately Unity no longer supports loading a shader from a string. I have already a workaround somewhere else. If I find the time I'll have a look at it.
This works great @Bunny83 I just followed the steps you mentioned. Thank you so much for the script :D
I had some time and brushed up the script a bit. In 2019+ it shouldn't produce any warnings or errors ^^. I also changed the way the triangle colors work. Also the alpha of the background clear color now will additionally blend the texture. Finally you can use the mousewheel on the "wrap" button to increase / decrease the wrap count displayed.
Your answer
Follow this Question
Related Questions
Baked lightmaps not using full texture. 0 Answers
UV Mapping / Lightmap Problem 1 Answer
Using second UV as Lightmap. Slow? 0 Answers
Seamless lightmap bake on large surface? 0 Answers