
154 II Lighting and Shading
the ray in the opposite direction of the view direction; this information is not
available in screen space. This means that occlusion and missing information is
a huge challenge for this technique and if we do not deal with this problem we
will have artifacts and produce incorrect reflection colors. Smoothly fading rays
that fall outside the screen borders, fall behind objects that occlude information
and rays that point toward the camera are recommended.
On the other hand this type of linear ray marching can be really efficient if
you do a low number of steps/samples for very short range reflections. As soon
as you have really ...