Files
sbox-public/engine/Sandbox.Engine/Systems/SceneSystem/Lights
Sam Pavlovic ea81bd18c1 Screenspace Shadows (#5099)
* Screen space shadows

* Pass screenspace shadow to directional light

* Simplify screenspaceshadows

* cleanup, format

* Guard against compositing screenspace shadows to translucent or compute

* Add validity check for ShadowMaskTextureIndex getter and setter

* Add Screen Space Shadows to dependency index

* Remove debug shader for screen space shadows

* No need for this, access directly from scenecamera

* Dont heap alloc

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Dont heap alloc here either

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* move stackalloc out of the loop

* Rename license file

* Implicitly add screen space shadows component to directional light, make SSS component hidden until supported in local lights

* Update shaders

* Move ScreenSpaceShadows from a component to just a class driven by directionallight

* ScreenSpaceShadows class internal, we don't want to expose any of this to the public.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-07 10:42:38 +01:00
..
2026-03-27 12:07:24 +00:00
2026-07-07 10:42:38 +01:00
2026-03-27 12:07:24 +00:00
2026-03-27 12:07:24 +00:00