Volumetric Fog for URP 2022. Created with the Forward+ renderer in mind.
Requires URP 2022.2+. Install as a package.
- Add the Volumetric Fog Feature to your URP renderer.
- Add a Volumetric Fog component to an object in your scene.
- Enjoy!
- Add a Rendering > Volumetric Fog option to the GameObject menu
- Rendering layer support so not all lights have to affect the fog
- Change stepping to be exponential
- Should probably add more comments
Feel free to make pull requests with improvements!