| ▲ | Analytic Fog Rendering with Volumetric Primitives (2025)(matejlou.blog) | |||||||
| 83 points by surprisetalk a day ago | 8 comments | ||||||||
| ▲ | brcmthrowaway 9 minutes ago | parent | next [-] | |||||||
How does it relate to Raymarching? | ||||||||
| ▲ | reactordev 5 hours ago | parent | prev | next [-] | |||||||
Yesssssss… However, I’d push this a little further with light reflectance and scattering. Fog does some weird things to light when it’s dense. You mention this towards the end but even just a Rayleigh calc should be enough. A goal of mine, maybe this year, is to get back into volumetric clouds and fog using SDF with wgpu but, the economy. But something like…
Take that with a grain of salt but the idea is to blend the final color with a scattering coefficient for when light is trying to shine through. | ||||||||
| ▲ | Ono-Sendai 2 hours ago | parent | prev | next [-] | |||||||
Coincidentally I just posted a blog post on fog rendering, in particular with exponential height fog, yesterday: https://forwardscattering.org/post/72 | ||||||||
| ▲ | signa11 an hour ago | parent | prev | next [-] | |||||||
i am not sure how expensive it will be to generate shadows from fog ? that was the first thing i noticed when i looked at the article, specifically the 'foggy cube' thingy. | ||||||||
| ▲ | kqr 9 hours ago | parent | prev | next [-] | |||||||
If, by chance, there are any fans of Morrowind here, there are shaders for the OpenMW source port that add volumetric fog and the game becomes absolutely stunning with them. I'm sure that was what the original developers intended but couldn't achieve with the computers of the age. Volumetric fog has a special place in my heart. | ||||||||
| ||||||||
| ▲ | bee_rider 8 hours ago | parent | prev [-] | |||||||
This is pretty cool, and also seems pretty accessible for a “graphics thing.” Just a little calculus. It would be kind of neat to have an example of a physical situation that produces each of the example functions (although I’m sure that isn’t always possible). Can the effect of multiple fog emitters reasonably be modeled as the sum of their outputs? I guess for high densities, probably not (eventually the air will get saturated), but for low densities, probably yes… | ||||||||
| ||||||||