T-R
12-01-2005, 02:36 AM
Hello,
I was just wondering, I am playing around with a shader with the good ol sample info/ramp setup and am curious if I am able to acheive the same effect on a cylindrical surface when it is running into Z space. When the camera looks at the object so its length is running in the Y direction the ambient portion of the ramp stays nicely on the edges, but if I move the camera so its "ontop" of it it all falls apart. Just wondering if there is a way to have this effect if the camera is "on top" of the object. Please see attached pic.
Thank you.
http://img205.imageshack.us/img205/5660/shader3sb.jpg
I was just wondering, I am playing around with a shader with the good ol sample info/ramp setup and am curious if I am able to acheive the same effect on a cylindrical surface when it is running into Z space. When the camera looks at the object so its length is running in the Y direction the ambient portion of the ramp stays nicely on the edges, but if I move the camera so its "ontop" of it it all falls apart. Just wondering if there is a way to have this effect if the camera is "on top" of the object. Please see attached pic.
Thank you.
http://img205.imageshack.us/img205/5660/shader3sb.jpg
