Ranged Fog

Author: Behemoth Programmer

Turok Sanctum Download: https://turoksanctum.com/download/ranged-fog/

Steam Download: https://steamcommunity.com/sharedfiles/filedetails/?id=1755580263

Turok’s fog is plane based where the z-depth is used to get the distance of the fog. This can cause you to see objects farther away at the edges of your screen when you rotate the camera. Ranged based fog can fix this by computing the length of the viewspace to get the fog distance.