Files
sbox-public/engine/Sandbox.Engine/Systems/SceneSystem
Sam Pavlovic 4e43c04ebb Remove Receiver plane depth bias - Fix Shadow Acne Quad Divergence (#5383)
* Use Normal-offset shadows to deal with shadow acne and peter panning instead of Receiver plane depth bias

much simpler technique and it's what modern game engines use

* Apply shadow normal offset to each shadow type

* Default bias to zero since ApplyShadowNormalOffset deals with it

* ApplyShadowNormalOffset also takes PCF kernel radius

* Update shaders

* Normal bias now scales with PCF kernel size with actual shadow hardness

* build shaders
2026-07-30 16:31:38 +02:00
..
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2026-01-19 08:09:13 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2026-06-09 20:23:50 +01:00
2025-12-07 10:26:48 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2026-07-07 10:40:23 +01:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2026-03-09 17:02:27 +01:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00