Version: Blender 2.82a
Create a composite node setup to render a tangent space normal map.
Node setup I have right now after lots of googling(still doesn’t work correctly):
What it produces:
Anything in the scene that is on the Z axis seems to produce invalid colors for a tangent space map. While X and Y are producing good results. As you can see from the example with a cylinder on a plane. Although even the base color seems a bit off. Not sure.
Here’s an example of the the type of result I’m looking for, just for a different object:
Any ideas of how to go about this would be greatly appreciated, even if it’s a different approach than I am using now. Thanks!