Fix fog to draw Fog Cutoff Distance via a plane, not sphere test

Add support for negative Fog Cutoff Distance on fog to draw it in front of the camera Far Plane, no matter the setup.
Fix hot-reloading Fog shader in Editor.
This commit is contained in:
Wojtek Figat
2025-06-29 20:02:24 +02:00
parent 78d519cb9a
commit 448eb48c23
7 changed files with 39 additions and 47 deletions

BIN
Content/Shaders/Fog.flax (Stored with Git LFS)

Binary file not shown.