49 Days Ago
Fog Fix, allows you to change light settings for volumetric fog specifically and does a massive cleanup, last try of this had some perf issues but should be sorted Squashed commit of the following: commit 4c0d34857bb545c62a83b6b09ef65261dca3ddd8 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Thu Oct 3 18:41:48 2024 +0100 We dont use CLightBinnerStandard::InitForView twice in same view, rename GetLightbinnerStandard from scenesystem to not conflict with views getlightbinnerstandard which has different behavior commit 8f3d1244f38a74525bcba28dc520ae5bf1dd1099 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Wed Oct 2 14:06:40 2024 +0100 Make fog lights buffer persistent with the volumetric fog's lifetime commit 0d5bee31cad9b54fc75e2dbff85accfd03d7b3e1 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Wed Oct 2 13:52:39 2024 +0100 Make sure this is properly inlined to never trash cache commit 5709fcf4b113088c684c095fc08d05fe176f940c Author: Sam Pavlovic <sam@sampavlovic.com> Date: Wed Oct 2 11:46:35 2024 +0100 LightBinner::InitFromParent and disable fog shadows commit 93fa098f5c55bddfa4b3d3261b26b7c9edfc8dd8 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Tue Oct 1 18:01:49 2024 +0100 Some lightbinner cleanup, allow it to be used directly without the complex system that scenesystem wants, remove bRenderFogClipmaps for commit 6f0125fd6ad1bf5512346ffe3c727532a6687cf4 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Fri Sep 6 13:23:03 2024 -0300 Put fog mode in it's own category and add nice icons to them https://files.facepunch.com/sam/1b0611b1/zwd8qAJFu7.png commit 0ff3702c73cf54edddc5dd82b8c54598904fae10 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Fri Sep 6 13:14:08 2024 -0300 Share dynamic shadow atlas if we have more than one lightbinner per view ( for example, fog ), fix light fog strength commit 50170c166dd1cc37d863046aa632a30fb6629860 Author: Sam Pavlovic <sam@sampavlovic.com> Date: Fri Sep 6 12:47:35 2024 -0300 VolumetricFogRenderer has it's own lightbinner outside of lightbinner pool, does lightbinning to fetch fog lights for the fog context only, fixes fog light settings not doing anything, deprecate LAYERFLAGS_NEEDS_FOG_CONTRIBUTING_LIGHTS since we don't need special code for that anymore Don't update shadows on fog pass, some lights are set to be updated always but should all be fetched from cache