Files
sbox-public/engine/Sandbox.Engine/Systems/Render
Sam Pavlovic 2388933716 Fix Hammer Shadows Not Rendering Properly (#5334)
* Fix hammer lights not casting shadows and having weird lighting after they became components

* Hammer lights have cone mask from the lightmap itself, we can take advantage of that and tighten the cone for sharper shadows

* Depth buffer bias should track cone width and map resolution, not light radius

A range-5000 light could get ~25x bias and heavy peter-panning, same for overly-wide spots

* Hammer lights have no concept of "hardness" - let's make them reasonably sharp by default a bit like previous behaviour

* Tweaks

* format
2026-07-14 05:45:03 +02:00
..
2026-07-02 07:29:38 +02:00
2026-06-22 08:06:12 -07:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-12-23 15:11:25 +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
2026-07-01 12:22:54 -07: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
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00
2025-11-24 09:05:18 +00:00