mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-01 16:28:36 -04:00
* Draw batched sprites using its own RenderAttribute Should fix issue with sprites affecting current state of `g_bNonDirectionalDiffuseLighting` for nearby scene objects, which messes up shading on models that are not related to sprites at all * Use pool for sprite's RenderAttributes - Also set blend/opaque mode from dedicated render attributes * Pool RenderAttributes properly --------- Co-authored-by: Matt Stevens <matt@mattstevens.co.uk>
18 KiB
18 KiB