14
$\begingroup$

Using the singular ray output, it's possible to detect whether or not the object is being viewed through a perfectly sharp reflection or refraction:

enter image description here

Besides changing colors of reflections, what are some possible use-cases for this variable?

$\endgroup$
2
  • 2
    $\begingroup$ Maybe for some sort of vampire effect ? !vampire suzanne $\endgroup$
    – Bithur
    Commented Jul 16, 2015 at 7:39
  • $\begingroup$ It can be useful for subtle effect in glass refraction without have to go through the pain of caustics effect etc. $\endgroup$ Commented Jan 22, 2016 at 20:19

1 Answer 1

1
$\begingroup$

I still have not spent the time to do a proper write up of this, but here is a preview of the effect, and the Blend File for your own use.

Even though this seemingly begins to look like a distance based thing, I really believe (in my own opinion, without further study) that this is still using amount of refraction as the basis for this effect, and the margin is pretty small. I would imagine that playing with settings such as the ones found here: This Link would change this potential up quite a bit, how ever I can see some sequential lighting animation being done with this node, as long as each light would have to pass through something that would cause this type of refraction like the glass prism shown in this answer.

enter image description here

$\endgroup$
2
  • 2
    $\begingroup$ Note tat the Is Singular Ray value is actually doing nothing in your example. The trig functions only take one input, the second one is ignored. $\endgroup$
    – PGmath
    Commented Mar 1, 2016 at 13:26
  • $\begingroup$ Definitely my mistake, I just left the Is Singular Ray Plugged into the math node, and somehow switched and forgot it switched. Great Catch. I am still experimenting though, and after I do, I'll post a write-up as a Pre-pend to my bogus answer. Just a note on what I'm going to write up... Is Singular Ray can act as an inverse of the Ray Length Node, which may spark some more ideas on how it can be used, but in the write up, I will demonstrate what I mean. Just need to find the time to gather it all together. $\endgroup$
    – Rick Riggs
    Commented Mar 1, 2016 at 17:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .