View Single Post
# 4 23-03-2012 , 10:58 AM
Registered User
Join Date: Nov 2011
Posts: 10
this is how I use rayswitch.. maybe this isn't the perfect way, anyway..

first of all this is my test scene:
user added image

and this is the materials for the sphere and the plane:
user added image

then, in the hypershade, I've created a new rayswitch node and a mia_lookup_sperical (into this node, in the texture value, i've opened my HDR environment image):
user added image

now.. the rayswitch node have multiple inputs:
user added image

EYE is for what you whant so see in the environment of the camera (like an imageplane.. or an IBL standard setup)

ENVIRONMENT is what you see in the reflection of the materials

FINALGATHER is what FG needs to illuminate your scene with your HDR image (in this channel, for a better FG result, you can blur your HDR, and reduce the image dimension to a 1/3 of the original)

this is the result with environment connected but eye and FG not connected
user added image

this with eye and environment:
user added image

this with eye, environment and FG:
user added image

hope this can help you.. and apologize for my really strange english ^_^

Attached Images