Skip to content

Next steps - lights, can't quite understand the difference between shadow rays and biased rays. #996

Answered by trevordblack
KnockerPulsar asked this question in Q&A
Discussion options

You must be logged in to vote

Lights are covered in book 2 and biasing is covered in book 3

As far as:

Shadow rays: for each light source, cast another ray for each hit during recursion, aimed straight at the light source.
I don't believe this is the correct interpretation (since we just mentioned shadow rays before this quoted part), but
it's always the first one to pop into my head when re-reading this quoted part.

You pretty much have it correct. At every surface, just before the scatter, you'll shoot a "shadow ray" toward a light. Where typically you'll choose a number of shadow rays 1,2,3,4,8,16, etc and point them at a random point on any of the lights. There are structures that exist to prioritize certain ligh…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KnockerPulsar
Comment options

Answer selected by KnockerPulsar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants