Home Technical Talk

Just when I thought I knew Normal Maps

I have read a lot in the Wiki and other areas about smoothing groups, normal maps, tangents, vertex count, bevels. and I am still confused. So...

Any time there is an angle in the low poly that is 90 or more than there needs to be a hard edge (in MAX a different smoothing group). Does this part of the model also needs to be separated into a different UV shell. or will throwing it in a different smoothing group be good enough.

Only 90 degree angles or worse need to be separated in UV space and have there own smoothing group right, everything else can have the same smoothing group and doesnt need its own UV island?

I am wondering this because a model I have had a seam showing in the normal map on an area where the lowpoly angle wasnt harsher than 45 degrees and it had one smoothing group and a single UV island.

Replies

  • MasteroftheFork
    Options
    Offline / Send Message
    MasteroftheFork polycounter lvl 18
    if the anggel is less than 45 degrees then it should be fine with one smoothing group (soft edge) and no break in the UV shell. If you have to have a break in the shell you will get aseem but if you do it properly the seem should be very minimal. Its hard to say what your issue is though without any pictures.
  • knak47
    Options
    Offline / Send Message
    So anything harsher than 45 needs a different smoothing group and a split in UVs? I thought it was angles of 90 or more that you had to look out for?
  • kodde
    Options
    Offline / Send Message
    kodde polycounter lvl 18
    From my own experience I use this rule of thumb:
    If you have a hard edge you also need to separate the UV's along that edge to avoid artifacts due to the texture filtering.
  • knak47
    Options
    Offline / Send Message
    OK, what about this scenario, because of your UV layout you have a UV separation on a soft edge, do you keep it soft or put it in two different smoothing groups?
  • hamzaaa
    Options
    Offline / Send Message
    hamzaaa polycounter lvl 11
    I think having two polygons on the same smoothing group while there is a UV split might give you a problem, but I am not really sure ^^
  • knak47
    Options
    Offline / Send Message
    OK, I think half the reason I am going crazy is because I cant get the Xoliul viewport shader to ever display the normal correctly for me. People say not to trust MAX's renders but my normals are great when rendered in Max. they also look OK in UDK which is all I am really concerned about. So can I trust Max's renders? here are some images of a model I made for trouble shooting this issue.

    wires
    wires.jpg

    normals with three smoothing groups
    Normals.jpg

    Xoliul's viewport shader
    XoliulsViewportShader.jpg

    Max's render next to the High poly(blue)
    MaxRender.jpg

    UDK screenshot
    UDK_screenShot.jpg
    Maybe I am not setting up the shader properly. I am just using the default lighting, but I have tried a three point light system and still havent got good results from the viewport shader. Any ideas?
  • hamzaaa
    Options
    Offline / Send Message
    hamzaaa polycounter lvl 11
    I had problems using Max 2012's standard viewport lighting. Maybe you have the same problem too. If your are also using max 2012 try this:
    click the [+] on the top left corner of the viewport -> Configure -> Lighting and Shadows -> Use default light and switch from 2 lights to 1 light..
    maybe this helps
  • Dismembered
    Options
    Offline / Send Message
    Dismembered polycounter lvl 9
    When you are baking your normals, what kind of edge padding are you baking onto them? As in how much.
  • Quack!
    Options
    Offline / Send Message
    Quack! polycounter lvl 17
    You are going to get seams. This is a fact of 3D life. You have to hide the seam. In this case just make sure the break is at a place the players won't see.

    No you can't trust max renders, the render will fix some of the errors from a bad bake. Only trust the engine you are importing to. In this case it seams(pun!) you are using UDK, so only trust that.
  • knak47
    Options
    Offline / Send Message
    Thanks Guys for the info. SO I figured it out, I have never had to deal with flipping the green in my normal because I just go from Max to UDK, and up to this point I haven't seen major issues with any of my normal maps. Well lately I heard not to Trust Max's renders because it doesn't you the same tangent basis that its viewport does(STUPID). So per advice here on PC I started using a realtime viewport shader to preview my maps. There lies the problem, I wasn't flipping the green channel in Xoliul's shader.

    Conclusion: Render the normals, throw on viewport shader and flip the green, check the map, import into UDK and squeel with joy!
  • knak47
    Options
    Offline / Send Message
    I am using Max 2009, so can I just use a standard material and render using the scanline renderer and I can trust that?
  • knak47
    Options
    Offline / Send Message
    Thanks Perna, just installed the 3point shader, looks great!
  • Computron
    Options
    Offline / Send Message
    Computron polycounter lvl 7
    perna wrote: »
    Actually the 3ds scanline renders are correct. You'll get the exact same results in the viewport if you use qualified normals in the latest version of max.

    Can I get this in the nitrous viewport?
Sign In or Register to comment.