created Re: normal mapping for games
on 11-03-2006 01:12 PM
if the left and right arms have the same UVs and you're baking ur normal map all at the same time it'll project one on top of the other and you'll get a total mess, if you want mirroring and ur highpoly geo is the same you will have to offest one arm's UVs to either be outside the 1x1 UV square or just scale it down in a corner somewhere.
DO NOT detach or delete mirrored parts because you want the smoothing to interpolate over the whole model, if you delete one side its not going to be correct and you'll get seams. and the normals won't be correct and won't look right from certain angles.
general workflow is:
build a base model for mudboxing/zbrushing (or use one u already have) and do all the work u need in mudbox/zbrush, then build a game ready mesh on top of that (mostly because your topology for zbrushing/mudding is going to be way different than the topology optimized for games) then unwrap the game model and project the normal maps either in mudbox or other application like max or some people use xnormal (i haven't tried it so i can't say) I've gotten good results out of mudbox, zbrush is good if its all one mesh, like say an organic body for a humanoid creature or whatever, but if your game model isn't the lowest resolution of your highpoly model then i wouldn't recommend zbrush same goes for if you have a bunch of extra pieces u just built with subds etc, also it all depends where you're going to render it, where its going to be presented, so say if you're going to make ur final presentation in max then render to texture it out of max, some game engines have normal mappers built in, like the doom3 engine has renderbump and thats the best way to generate normal maps for it, it looks the best and usually totally eliminates seams.
what sucks about normal maps is that there isn't one clear standard, every app and every game uses different code for generating normal maps and rendering them. so you can render a normal map in max and it'll look fine in max, then you put it in a game and it looks horrible [img]/images/graemlins/smile.gif[/img] and there's differences beyond just having the Y axis (green channel) facing different directions, just in general different apps have different code for rendering normal maps, so in some you'll get horrible seams no matter what, some will recognize it and do it without seams, but at the same time if you put that normal map into a game engine that has different code that handles normal maps differently it'll look different... in general yeah every normal map will look about right just about anywhere, but every app has its own subtle differences and sometimes thats just enough to aggravate the hell out of you [img]/images/graemlins/smile.gif[/img]
oh in mudbox do NOT invert binormal lol that'll basically switch ur red and green channels and invert them, lol ... its bad [img]/images/graemlins/smile.gif[/img] real bad
|