Cycles normal shader with colors similar to baked normals I'm trying to render my object's normals with colors that are similar to those you get when baking normals (or the matcap normals material), i.e. the color distribution that characterizes normal maps.

Example for what I'm looking for:


I tried using the normal pass in cycles or BI, and tried using the geometry --> normal input node in cycles or BI, but the closest I could get is this:


I also tried to play with the colors via a Hue/saturation node, but couldn't really reconstruct what I'm looking for.

Would appreciate ideas for reproducing this kind of a shader.
Here is node setup to generate normal map shader in cycles without using matcap:


I tested it in Substance designer and it seems to work great.