Files
sbox-public/engine/Sandbox.Engine/Scene/Components/Render
Sam Pavlovic 1199a491ac Volumetric Fog Jitter Fix and Optmizations (#4856)
* Reduce jitter artifacts in fog denoising by using view-relative reprojection matrix instead of converting to world and back

* Reduce 27 taps to 8 trilinear samples for volume fog denoising

* One degree fog TAA jitter and tighter blending

* volume_fog_enable_jitter default disabled, we do it fine with just blue noise and TAA fixes

* Henyey greenstein function was inverted, fix out of bounds access and fog not denoising right corner properly
https://files.facepunch.com/sampavlovic/1b1811b1/sbox-dev_DNs0G1gaxA.mp4

* Henyey-greenstein phase funciton was still wrong, correct it, make actual fog density contribute to it

https://files.facepunch.com/sampavlovic/1b2011b1/sbox-dev_456raQmbbj.png
https://files.facepunch.com/sampavlovic/1b2011b1/sbox-dev_BnmMDwMeQx.png

https://files.facepunch.com/sampavlovic/1b2011b1/sbox-dev_ruRvQQs1j1.mp4

* Able to tint fog volumes
https://files.facepunch.com/sampavlovic/1b2011b1/sbox-dev_iiYXuyhrKQ.mp4
2026-06-01 08:40:39 +01:00
..
2026-02-22 14:56:54 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2026-04-21 11:19:35 +01:00
2025-11-24 09:05:18 +00:00