"Ray casting" implies that the light ray is following a straight path (which may include travelling through semi-transparent objects).The ray cast is a vector that can originate from the camera or from the scene endpoint ("back to front", or "front to back").