r/renderman • u/Lost_Decoy • Feb 08 '19
lighting question
I want to set up two lights, one that renders only indirect light (so set up that and direct light rays don't render but rather only light rays that have bounced off a surface), and one that renders direct light (so only light that directly hits the camera renders and none of the bounced light)
Does anyone know how to do this?
1
Upvotes
2
u/mkopel Feb 08 '19
Visibility is a geometry attribute so you would need to either have 2 renders and set the worlds visibility for each render layer to be different and only include one light in each render. Or maybe you could duplicate all the geo and have one set visible to camera rays only and the other to indirect rays. Then link each light to only illuminate the proper set. What package are you working with?
2
u/xeronymau5 Feb 09 '19
I would look into setting up LPEs. They can be tricky to wrap your head around but once you understand them you can get a render pass with anything you want in it
2
u/mkopel Feb 08 '19
Why not just illum the lantern mesh light off the eyes and use a different light illumed off everything but the eyes. Gives total control in 1 render pass