2
$\begingroup$

I would like to create a scene in which some simple objects make a simple scene, normally lighted, and with a transparent lens object looking through which some of the objects have an emitter material that also illuminates the area around them, but only when seen through the lens object. Is there any way to do this? E.g. with 2 cameras or scenes...

$\endgroup$
6
$\begingroup$

I guess the proper way to do this would be via compositing, but in Cycles, the Light Path node can take you some way.. it's a bit of a fudge, and may depend on your scene:

enter image description here

The torus in the little shot below uses this tree:

  • 'Is Transmission' ensures that the torus material will emit whenever seen through another transmissive material, and is 'OR'ed by the Maximum with:
  • 'Ray Depth > 2', which means that surrounding objects appear illuminated when seen through the glass, but not otherwise.. the discrimination isn't perfect in all situations, there might be a tiny bit of bounce from the torus when not seen through the glass, but seems good here:

enter image description here

(The glass is 2-sided, it has thickness)

| improve this answer | |
$\endgroup$
  • $\begingroup$ Exactly the effect I was looking for. Gonna try this with Cycles. Thanks! $\endgroup$ – adbg Oct 20 at 6:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.