Announcement

Collapse
No announcement yet.

Need help with simple normal map creation

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

    Need help with simple normal map creation

    I'm trying to simply create rounded edges on a cube with a normal map. Seems simple enough, however I can't get good results on every edge... Been trying to fix this all day. Anyone have any idea what the problem is?

    Here's my question about it on stackexchange.. I updated blender to fix the problem with two sides not baking correctly, however the issue of only one edge being correct is still present.. http://blender.stackexchange.com/que...rmal-correctly

    Also made a post on blenderartists hours ago but the mods never approve my threads there, so I'm pretty much out of ideas

    Click image for larger version

Name:	1.png
Views:	1
Size:	350.6 KB
ID:	1168635
    Click image for larger version

Name:	2.png
Views:	1
Size:	235.5 KB
ID:	1168636

    #2
    1. Your lowpoly should be exactly the same size as the highpoly (or as close as possible)
    2. You need to invert your green channel of your normal map when you bake in Blender.

    Comment


      #3
      Originally posted by ZacD View Post
      1. Your lowpoly should be exactly the same size as the highpoly (or as close as possible)
      2. You need to invert your green channel of your normal map when you bake in Blender.
      Thanks for the reply, but that's something I've tried. I have tried everything I could think of/find on google. I even tried using xNormal, with no success.

      But I did it again to show you. Inverted green channel and have the low and high very close.

      Can you make a rounded edge using normals? Could you perhaps show me?

      Click image for larger version

Name:	11.png
Views:	1
Size:	427.3 KB
ID:	1096981

      Comment


        #4
        Make new post due to more pics..

        ZacD, you were right! Thanks so much. I really can't believe I wasn't able to find this answer anywhere online... I also shouldn't trust the blender rendered view I guess.... But now new issues appeared. The sides in the "shadow" have very noticeable black edges, and weird normal behavior.. Pics attached. Any insight? First pic is perfect! Other two have the problems.

        EDIT: Made video with better lighting settings to better see everything: https://www.youtube.com/watch?v=foAM...ature=youtu.be

        Click image for larger version

Name:	111.png
Views:	1
Size:	276.3 KB
ID:	1096982
        Click image for larger version

Name:	222.png
Views:	1
Size:	261.3 KB
ID:	1096983
        Click image for larger version

Name:	333.png
Views:	1
Size:	296.0 KB
ID:	1096984
        Last edited by vanlacke; 12-15-2015, 01:04 AM.

        Comment


          #5
          My first though is the black shading might because of "1. Your lowpoly should be exactly the same size as the highpoly (or as close as possible)"

          But that might not be the issue. If that doesn't help, could you post the files for your highpoly, lowpoly, and normal maps?

          Comment


            #6
            I did try all type of sizes, as close as possible, smaller, larger... Here are DL links to the files.

            https://drive.google.com/drive/folde...ZBN0U?ths=true

            Comment


              #7
              Well, the edges on the lowpoly were detached, I merged them together and baked a normal map within xNormal, and got a perfect bake.

              Comment


                #8
                Originally posted by ZacD View Post
                Well, the edges on the lowpoly were detached, I merged them together and baked a normal map within xNormal, and got a perfect bake.
                I've been googling trying to figure out what you meant, and I can't find any answers. Is "detached" some terminology used in something other than blender? As far as I can see, I have 12 edges, and... they're together? If I move an edge the cube is shaped as I expect it to, it doesn't seem "detached". Also, the low poly cube is simply the default cube in blender. Is it "detached" by default?

                Thanks again so much!

                Comment


                  #9


                  This is what I mean by detached, each face is a separate part, the blue edged model is on the right is the low poly FBX file from your drop box, a normal cube is on the left

                  Comment


                    #10
                    Originally posted by ZacD View Post


                    This is what I mean by detached, each face is a separate part, the blue edged model is on the right is the low poly FBX file from your drop box, a normal cube is on the left
                    Very strange... In blender, my cube acts like the left one. I actually have to do an "edge split" for it to behave like the one on the right. What program are you using? Maybe blender is bugged? Would be weird, again the low poly is just a default cube. I can't find the blender command to "reattach", only to "detach", so I guess blender must not support whatever the problem is...

                    EDIT: By the way, could you possibly upload the new file just so I can put it in my scene to compare?
                    Last edited by vanlacke; 12-15-2015, 05:42 AM.

                    Comment

                    Working...
                    X