0
$\begingroup$

I have a robot with a monocle on one eye, and now I want to give his eyes a glare effect. So what I did is, I gave the emission material that is assigned to the eyes a pass index of 1. But after the render the eye behind the monocle wasn't detected. And the glare effect only worked on the open eye.

enter image description here

What would be the best way to add glare to the eyes in this situation?

$\endgroup$
  • 1
    $\begingroup$ Never really worked much with pass index, but the rendered pass is for the visible objects, not the ones behind them. If you want the pass of the eye either separate the monocle to another render layer and render it separately so you can still get the pass of the eye on a a separate layer, or assign the pass to the monocle itself instead. $\endgroup$ – Duarte Farrajota Ramos Jun 2 '16 at 17:36
  • 1
    $\begingroup$ @DuarteFarrajotaRamos Yep actually moving monocle to another render layer worked perfectly, what a great idea. Thanks man! that worked the best out of all the things i tried. $\endgroup$ – Igor Tatarnikov Jun 2 '16 at 17:54
1
$\begingroup$

My best thought is make sure you have the blue part of the eye as a separate material index. Then use that as a factor for black and the original image. This will separate the eyes from the mesh.

Afterwards, you can use a glare node on the eyes. If you where to following this work flow make sure the threshold low.

|improve this answer|||||
$\endgroup$
  • $\begingroup$ Looks like you left your answer incomplete mid sentence. "make sure the threshold" ...what? $\endgroup$ – Duarte Farrajota Ramos Feb 25 '17 at 3:28
  • $\begingroup$ make sure the threshold is low $\endgroup$ – Steve Feb 27 '17 at 0:38

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.