Forum: Poser - OFFICIAL


Subject: A other esoteric shader question

quinlor opened this issue on Nov 28, 2003 ยท 3 posts


quinlor posted Fri, 28 November 2003 at 1:29 PM

Is it possible to get the camera vector in the material room or is there some way transform the normal vector (that you can get from the P node) into camera space? I am thinking about a shader that can color backfacing faces different from forward facing ones. Useful for example for a clothing with a different color inside. Stefan


stewer posted Fri, 28 November 2003 at 2:42 PM

I don't think you can do that in the material room - all you have is the shading normal, faceforward(N). It'd be cool to get a shader SDK from CL for writing own shader nodes!


quinlor posted Fri, 28 November 2003 at 3:30 PM

Yup, that would be cool! Is the output from the N node (should have been N, not P in my post above) faceforward(normal), not the unchanged normal?