mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-07-31 15:58:27 -04:00
* 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