Hey there Polycount!
I've been working on this enviroment for awhile with the hopes of learning how to use UDK. This is my first proper project in UDK so I've ran into a few problems along the way. Right now I'm scratching my head wondering how to fix this shading problem on some of my modular building pieces.
Basic setup in UDK:
As you can see the bottom part of the wooden wall pieces gets a weird shadow across the entire board. I'm not really sure how to fix it and I've been trying a bunch of different ways of useing smooth and hard edges in Maya.
Another weird thing is that if I freeze all transformations in Maya it shades correctly, but when I save and exit and then reopen the file it's back to the way it is now.
Here are some pictures of my lowpoly mesh:
`
The entire mesh has hard edges, appart from the outermost edges on the boards at the bottom aswell as around the door.
I've been trying to keep the polycount to a minimum, but maybe I overdid it? I'm not really sure about how highpoly you can make modular pieces like this for a modern game, which is why I did it as lowpoly as possible.
Would adding more geometry help me with preventing shading problems like this or could it be my edgeflow or my use of smoothing groups that is faulty?
If something is unclear please ask and I'll try to explain it further, english isn't my mothers tongue
.
Thanks in advance.
Replies
So yeah, those are the three ones I know of at least
And out of the three I'd go with the hardened edge for this one.
Here's the normal map I'm useing:
I was hoping I could fix it without adding too much supporting geometry, but I guess it has to be done. I'll also try to rebake the normal map with hardened edges and see if it helps.
Thanks for the quick respond!
EDIT: I might also add that I'm fairly new to baking normal maps so I might have made mistakes while baking them. Maybe that's part of the reason?
Have you used Mayas own tools or a third party tool like Xnormal?
So select your modular piece, and turn vertex normals on and you should see a bunch of lines poke out from where your vertexes are, you will likely see on the edge that these lines don't point straight/forward but rather on an angle, you want to correct that so that when you connect the edge to another modular piece edge those vertex normals line up. You will also need to rebake your normal maps after you have fixed the vertex normals.