5 Commits

Author SHA1 Message Date
ryleigh
074263fddb Add Snap To Frame option for particle sheet sequences (#3821) 2026-01-21 10:06:51 -08:00
Lorenz Junglas
12affe5ccb Reduce material creations/allocations (#3766)
* Make SpriteBatchSceneObject shaders static, so we don't create them per instance

* Avoid per frame shader/material creation in PostProcessing

* Avoid per frame shader/material creation in HudPainter

* Move a few more compute shaders into static members

* Reduce allocations in NormalizeFilename

* Reduce string allocations in Material.FromShader
2026-01-14 08:40:37 +01:00
Antoine Pilote
924bbb3fa9 Added sprite alpha cutout (#3667)
* Added AlphaCutout setting to opaque sprite

* Just store as uint and cast back to float when necessary, simpler that way

https://files.facepunch.com/antopilo/1b2311b1/sbox-dev_wEBQHQosGe.mp4

* Rename fogStrength var to packedFogAndAlpha

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix typo by copilot preventing from compiling

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-05 07:50:31 -08:00
Antoine Pilote
9331f2bffa Fixed opaque & non-opaque sprite sorting (#3660) 2025-12-22 16:29:31 -08:00
s&box team
71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00