This ensures that the beams color does not darken along borders, by using the last valid color of the ray as the border color (extending colors in the direction of the source point).
This ensures that the beams color does not darken along borders, by using the last valid color of the ray as the border color (extending colors in the direction of the source point).