spherical raycasting