mukaschultze/grand-theft-auto-for-unity

Possible to export to FBX with textures?

Gamination opened this issue · 1 comments

Is there any possibility of exporting this to FBX with materials and textures both included?
I tried exporting and there's no textures, only materials

I also used gltffast addon to test exporting a mesh in gltf and this was the result:
image

AJ170 commented

I tried a lot of things and nothing seemed to work, I ended up getting the material data just no textures. I'm guessing this is because the map importer is only reading the textures from the .txd from inside of the .img so if that's the case then it makes sense why we can't rip them out with unity.

what we can do is click on the mesh you need the texture for (for this example lets use a pay n spray door) so just click on the door, in the inspector you will see a script attached, expand that and it will tell you the textures name and what .txd file it in which makes this so much easier. and from here google how to get a .txd out of a .img and textures from a .txd