Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > RenderMan interface > Driving Refract...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 743 of 786
Post > Topic >>

Driving Refraction from a surfaces Diffuse Values

by Pangaea <dave@[EMAIL PROTECTED] > Aug 29, 2007 at 09:28 AM

Hi All

I want to write a shader that can drive reflection and refraction
based on a surfaces diffuse values. However I am not sure how to get
the output from the diffuse() function into a variable that I can pass
to the trace() and refract() functions.

Basically I want to set a range in which the diffuse vals fall, If in
one range light is reflected and if in another light is refracted.

Any pointers on this would be greatfully appreciated.

Dave R
 




 1 Posts in Topic:
Driving Refraction from a surfaces Diffuse Values
Pangaea <dave@[EMAIL P  2007-08-29 09:28:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 13:57:51 CDT 2008.