Time is passed in by default which can be used for animation. Time is incremented every new frame that is drawn and is scaled to milliseconds.
time
← getRayDirection() normal →