“Perfection!” I had to fight the acquisition of world space coordinates for the skybox for the purposes of ray casting for longer than I expected, but it seems that it’s paid off and I’m now able to apply fog accurately to the not-actually-there ground.