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.

Reply to this note

Please Login to reply.

Discussion

No replies yet.