- Home /
How to export the materials of a model to a 2D UV map .png?
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
Now, my prefabs in Unity have only the mesh and Material(color) on them only.
I have managed to export the prefabs into an OBJ file using the following unity tutorial, 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)