Ray-Traced Categories