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.
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.
No replies yet.