factual

Volumetric Fog Solved Via Line Integral

Sweeney implemented real-time volumetric fog by recognizing the problem as a line integral: accumulating light along the ray from the eye to a surface where light falls off with the inverse square of distance (Newton), and the integral of that transformed inverse-square function turns out to be the arc tangent, which combined with a lightmap-like sampling made real-time volumetric fog feasible.

factualpending

Speaker

Tim Sweeney

Evidence Quote

“the integral of this transformed one over R-squared turns out to be solved by the arc tangent of R”

Source

Tim Sweeney— Lex Fridman Podcast
Created: 6/13/2026, 3:34:00 AM

Your notes

Loading notes...