Analytic Fog Rendering With Volumetric Primitives
Summary
This article provides a detailed mathematical treatment of rendering fog with volumetric primitives, covering Beer-Lambert-based attenuation, ray-primitive intersections, heterogenous volumes, and several radial density functions. It includes practical derivations, code snippets, and discussion of trade-offs between ray-marching and analytic solutions for efficient fog rendering.