In this Unreal Engine 5 tutorial, we dive into the Atmospheric Fog Color material node! Learn how this powerful node samples environmental and atmospheric lighting, how to set up distance math, and how to use it for realistic shading or distance/environment-based opacity fading.
https://dev.epicgames.com/community/learning/tutorials/0R1a6/unreal-engine-atmospheric-fog-color-material-node-in-ue5-tutorial-ue5-material-all-node-series