Fri, Nov 22, 7:04 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 21 6:06 am)



Subject: A other esoteric shader question


quinlor ( ) posted Fri, 28 November 2003 at 1:29 PM ยท edited Wed, 16 October 2024 at 11:03 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?


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.