Hi all,
I'm developing a JAVA game and I want to export some of my unity prefabs along with their textures into that game.
----------
The way I made my java game to use models is a OBJ loader and a png loader that reads the UV texture maps as the example provided below, that shows the texture of an apple model.
[EXAMPLE UV TEXTURE PNG FROM GOOGLE IMAGES][1]
Now, my prefabs in Unity have only the mesh and Material(color) on them only.
![UNITY PREFAB EXAMPLE][2]
I have managed to export the prefabs into an OBJ file using the following [unity tutorial][3], but the materials are not provided or a UV map that I would like to have!
----------
Questions:
**How to export the UV map of the unity prefab in Unity?**
If that is not possible:
**In what format do I have to export my prefab in order to have the materials attached on the model: (assuming that i would have to change my JAVA game to allow that specific fomat of models)**
[1]: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQJnSSZ8J4FPQysbt9dz5cN8gcGelaX1UAhiQ&usqp=CAU
[2]: /storage/temp/175508-tree.png
[3]: https://wiki.unity3d.com/index.php/ExportOBJ
↧