I'm new to the world of normal mapping. I'm looking at normal maps to fix some really bad mesh normals on a corrective blend shape. I'm using UE4, but this would apply to any game engine, I imagine.
Tangent space normals haven't worked out initially, since they don't override the underlying mesh normals. Seems more like a blending effect with the mesh normals and the normal map. Object space sounds like what I want, as it'll totally override the mesh's normals, but it's not supposed to be used with deformable meshes. Except for this on Polycount:
Rainbow colors. Objects can rotate, but usually shouldn't be deformed, unless the shader has been modified to support deformation. Object-space is also called local-space or model-space.
Is there a way to completely override the mesh's normals using a tangent normal map somehow? That seems like the path to least resistance. Or possibly a way to make object space normal maps more deformation friendly?
Replies
Is it possible to redo the geometry to support the blend shape or could the morph be done better? Is this blend fixing a common motion, or some one-off animation that's only going to be visible for a moment in a cutscene? Garbage in, garbage out.
They are. Them being not deformable is just a widespread misconception, it all depends on the implementation.
However ...
Don't bother trying to use OS maps on a character - it's pointless since they are barely supported by anything at this point. Focus on fixing your initial problem (poor surfacing of the original model), which will be dealt with by working with higher density models.
I would also recommend working within tangent space rather than going for object, fixing the model to get the shading you need. As for a tangent space that overrides the underlying normals... not possible. A tangent space normal map relies on the low poly normals, essentially storing the difference between the high poly and low poly normal at any given point.
I'm going to go back to the drawing board and figure another way out to avoid the bad normals, as suggested. Cheers!
An example of this being eyelids which are best authored with the initial pose looking sleepy so the final textured shading is nice and clean when the eyes are wide open or totally closed.