Facepunch / sbox-issues

173 stars 11 forks source link

Volumetric fog component does not work on baked lights #5191

Open Xenthio opened 5 months ago

Xenthio commented 5 months ago

Describe the bug

Volumetric fog from a volume fog component doesn't work on baked lights. It only works on Dynamic lights.

To Reproduce

  1. create a map with a static baked direct light.
  2. load the map in a scene.
  3. create a volumetricfogvolume in the scene.

Expected behavior

Volumetric fog should work on static and dynamic lights.

Media/Files

image

Additional context

No response

samzanemesis commented 3 months ago

I recently made it so that baked fog volumes show up properly, it won't work if your map hasn't been precompiled with a fog volume though, let me know if this is fixing your problem or I can do something to make these lights be affected if there's none