The fog on the drive to work was surreal. Felt like I was in a video game or something ๐. Shit was just loading in from no where ๐
The fog on the drive to work was surreal. Felt like I was in a video game or something ๐. Shit was just loading in from no where ๐
Yeah, fog is a useful rendering technique to avoid distant objects โpoppingโ into the render frustum.
Itโs easy to implement in the fragment shader. Just mix the fog color with the surface color according to the camera distance.