Modifications to raycasting algorithms.