Author Topic: Issue with exporting texture to Unity (model is just black)  (Read 123 times)

Hey guys,

Having a weird issue. I found a 3D body model online and i imported it to substance painter. I colored it and drew some stuff on the model. I went ahead and watched some youtube videos on how to export properly and i chose to export with the unity 5 (standard metallic) preset and added an ambient occlusion map to the export (because videos did it). I went ahead and made a new material in unity and added the png files to the appropriate sections. None of my drawings are showing on the model, instead, the model is just completely black. When I adjust the metallic smoothness slider all that happens is the model is less or more shiny, still black.

The model on the left is the original model, the model on the right is the model after ive applied my material on it. also under is the models original settings. In the first image on the right is my materials settings.



I've never used substance painter until now so I'm not sure if my process is wrong. I also added a Villa Nova Streets enviroment to the model while i was clicking around, not sure if that has to do with anything. Ive attached what my texture looks like in the program and some of my layers and maps if that helps.


Would appreciate any help on this, been stuck with it for 2 days now. Let me know if any more information is needed.

Cheers
Last Edit: January 30, 2020, 11:21:02 pm

I most likely know the problem. Are you able to make an empty Unity project with the mesh and textures then apply as you already then and send me it?

Google Drive or Dropbox will work.

I'll be able to show you 100% what is going on.

I most likely know the problem. Are you able to make an empty Unity project with the mesh and textures then apply as you already then and send me it?

Google Drive or Dropbox will work.

I'll be able to show you 100% what is going on.

Hey man really appreciate you offering some help, I actually just figured it out now. My model didn't have a UV map so textures weren't applied. rookie mistake I guess, my first time working with something like this so I had no idea about that.

Was that what you had in mind as well? I'm sure ill run into more issues like this down the road

There were two things I thought about.

1. UVs not in the 0-1 space or no UVs
2. Improper Shader (Some shaders in Unity have given me black meshes regardless of having UVs and correct maps) One of the PBR shaders in Unity glitches on me in the 2019 version but under a certain set up.

Also make sure you use the same mesh you use to bake your normal maps in. Make sure they're Tris prior as well to baking.
Last Edit: January 31, 2020, 05:41:11 pm