Announcement

Collapse
No announcement yet.

Normal Map Artifacts after Substance Painter export

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Normal Map Artifacts after Substance Painter export

    Hi!

    I have an issue with my normal map.

    This is what it looks like with the texture input in the normal of the material:

    Click image for larger version

Name:	stackLight_normalIssue002.PNG
Views:	1
Size:	264.4 KB
ID:	1212200

    This is what it looks like with it applied to the Base Color, just to show what the map itself looks like:

    Click image for larger version

Name:	stackLight_normalIssue001.PNG
Views:	1
Size:	280.7 KB
ID:	1212199


    And finally, these are my settings:

    Click image for larger version

Name:	stackLight_normalIssue003.PNG
Views:	1
Size:	169.3 KB
ID:	1212201



    So basically, what I'm after is a smooth edge but instead I'm getting a weird split halfway. I don't think it's related to the UV-map because the cuts/seams aren't where the dark parts are.

    Click image for larger version

Name:	stackLight_normalIssue004.PNG
Views:	1
Size:	60.9 KB
ID:	1212202

    If you see here, the cuts are where the blue lines are and the dark parts are approximately where the red line is.

    Here's what it looks like in Substance Painter:

    Click image for larger version

Name:	stackLight_normalIssue005.PNG
Views:	1
Size:	59.0 KB
ID:	1212203



    Anyone's got a clue what could be going wrong and how to fix it?

    Thanks!

    #2
    1) Load it into a few more programs and see if the shading issue exists there. If they don't, then we know it's UE doing something.
    2) Try flipping the normal map channel in UE, sometimes that can cause issues.

    Comment


      #3
      I can see from the thumbnail there that your normals texture is inverted.
      Flip green channel of the texture.
      | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

      Comment


        #4
        Cheers! I'll try that. What is the reason for that issue? How do I stop them from being inverted in the future?

        Comment


          #5
          In Substance, make sure you use the DirectX normal map setting in the project settings, instead of OpenGL. There's more information in their documentation.

          Comment


            #6
            Hmm, I did use DirectX and now that I tried flipping the green channel it just moved the problem area.

            This is what it looks like before flip:

            Click image for larger version

Name:	stackLight_normalIssue001.PNG
Views:	1
Size:	123.3 KB
ID:	1124146

            And this is what it looks like after:

            Click image for larger version

Name:	stackLight_normalIssue002.PNG
Views:	1
Size:	115.2 KB
ID:	1124147

            Comment


              #7
              I haven't used Substance Painter much. Came across this tutorial about Model preparation for using Substance Painter. It may help you.

              https://tutorials.allegorithmic.com/...be-gR3r7Xmhmlk

              Comment


                #8
                Hmm, I don't know if the problem is with the model or even Substance Painter. I followed that exact tutorial when I made it and everything looks fine when I apply the texture in Maya.

                Comment


                  #9
                  It seems like your issue is all fixed, but I just want to add in that Substance Painter 2.5 has a very good Unreal Engine export now and I suggest using that.

                  Comment


                    #10
                    My problem isn't fixed because I need it in UE4, not in Maya unfortunately :/

                    It still looks wonky in UE4.

                    How do you do the Unreal Engine export in Substance Painter 2.5? Is it different from just picking the UE4 preset when you create the project and export the textures?

                    Comment


                      #11
                      When exporting normal map from Substance Painter it's 16Bit. You have to use 8Bit normal map in UE4.
                      Artstation
                      Join the support channel
                      Gumroad Store

                      Comment


                        #12
                        Oh, I didn't know that! But unfortunately I just tried both converting it to 8 bit in Photoshop and exporting it as 8 bit from Substance Painter, and none of them did any visible difference :/

                        Comment


                          #13
                          Originally posted by FrankWilliam View Post
                          Oh, I didn't know that! But unfortunately I just tried both converting it to 8 bit in Photoshop and exporting it as 8 bit from Substance Painter, and none of them did any visible difference :/
                          Can you share the model and substance file so that we can have a look at it?

                          Comment


                            #14
                            I'm sorry, but unfortunately I don't think I can share the files.

                            Do you think it could it be related to the lightmap? I haven't actually done anything with the lightmap yet. The second UV set on the model is named "lightmap", but right now it's just a copy of the texture map.

                            When I click "Build Lighting Only" it gets a lot more pronounced:

                            Click image for larger version

Name:	stackLight_normalIssueBuildLightingOnly001.PNG
Views:	1
Size:	82.5 KB
ID:	1124225

                            Comment


                              #15
                              Originally posted by FrankWilliam View Post
                              I'm sorry, but unfortunately I don't think I can share the files.

                              Do you think it could it be related to the lightmap? I haven't actually done anything with the lightmap yet. The second UV set on the model is named "lightmap", but right now it's just a copy of the texture map.

                              When I click "Build Lighting Only" it gets a lot more pronounced:

                              [ATTACH=CONFIG]131711[/ATTACH]
                              Well then it could be a lightmap issue. To check, you can increase the lightmap resolution for this object to a high value. What is the current lightmap resolution?

                              Comment

                              Working...
                              X