hi, all
I don’t know the problem is caused by zbrush or renderman so forgive me if i post in wring forum .I got a problem when using the the object space normal map output from zbrush (using ZMapper with configuration setting use “Maya_ObjectSpace_BestQuality.zmp”) to a custom slim node that porcessing normal map data like this(shading language):
if(bumpStyle == “objNormalMap”)
{
normal newNorm = normal((2*rmanNormalMap-1));
normal objcamNormal = vtransform(“object”, “current”, newNorm);
outNormal = normalize(objcamNormal);
}
But the final result are totally wrong, it seems some axis direction are wrong but I’ve try to invert axis in all possible way, and still got no correct result. I don’t know if anyone ever encounter this problem ?
Thanks for any sggestion !!