Skip to main content
Participating Frequently
July 26, 2021
Answered

Issue with light and shadow mapping on mesh brought in from Blender

  • July 26, 2021
  • 1 reply
  • 5755 views

So I am incountering a situation in which a mesh that I am bringing into Substance Painter has a specific part of the geometry that appears to have the light and shadow flipped from what is happening with the rest of the model. 

The part in particular is the the eyesocket/housing on the head of the character (ass seen in the images provided).

Prior to this issue, also was having a problem with some of the polygons appeared inside out, but I was able to solve that by fliping the normals back in Blender and reexporting the FBX file.  

So I'm not sure if this is an issue with the model back in Blender, if this is because of how I imported the mesh to Substance Painter or if it is even an actual issue at all. 

This topic has been closed for replies.
Correct answer davescm

Here it is


I downloaded the eye socket model. The problem is that you have a negative scale in Blender on the eye socket object which is reversing the faces. To fix it:

In Blender :

1. Use Ctrl+A and apply the Rotation and Scale

2. Change to Edit mode and Select All

3. Recalculate the normals outside

4. Unwrap again

5. Export the fbx

 

That should import OK into Painter.

 

Dave

1 reply

davescm
Community Expert
Community Expert
July 26, 2021

It looks like some of your normals are still reversed. In Blender edit mode, go to the viewport overlays (top right) and turn on normals visibility so you can see what needs to be flipped.

 

Dave

 

 

 

 

Participating Frequently
July 26, 2021

Thank you for the suggestion, Dave.

So I went back into Blender, but it's difficult to tell if the normals are "correct"

The first too images show how the normals are faced out to give me the result in the third image. For some reason there are some coming out of the back of the model which doesn't seem correct.

In the fourth image, I fliped the normals only on the outside most faces where I felt the problem was the most pronounced. But that resulted in said faces appearing transparent in Substance Painter when viewed from head on.

At this point, I think I can just rebuild the object, which I don't think would take me that long. 

davescm
Community Expert
Community Expert
July 26, 2021

Hi

It looks like you have reversed normals but the indicators are coming through the model on the opposite side to the face. You can shorten the length of the lines to make them easier to see. I  would have expected the normal indicators to look something like this :

 

 

Dave