Files
sbox-public/engine/Sandbox.Engine/Game
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
..
2025-11-24 09:05:18 +00:00
2026-04-21 20:11:35 +01:00
2026-07-07 10:42:38 +01:00
2026-06-17 15:00:09 +01:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2026-04-21 20:11:35 +01:00
2026-05-20 10:53:10 +00:00