7 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
wheatleymf
96b2f0c9cc Custom filtering/address mode for line renderers
- Allows artists to control texture filtering (point/bilinear/trilinear/anisotropic) on line and trail renderers
- Obsoletes "Clamp" in SceneTrailObject's `TrailTextureConfig` struct, use `FilterMode` and `TextureAddressMode` properties instead. Default config will set anisotropic filtering with "wrap" UV address mode.
- No changes in line.shader, it still uses bindless sampler state. It is assigned from SceneLineObject.cs in `SamplerState` property's setter
2026-01-21 10:53:14 +01:00
sboxbot
66962235d0 Localized Particle Velocity Fixes (#3808)
* localize particle velocity properly

same method as localizing position

* localize initial velocity using the 0th delta of `LocalSpace`

This is consistent with what you see in the editor, there's no indication that `LocalSpace` only applies the later movements of the particle and not everything in the movement feature.

* localize `ConstantMovement` as well

---------

Co-authored-by: Fortune <7847372+Fortune117@users.noreply.github.com>
2026-01-19 11:23:05 +00: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
Garry Newman
67e5970382 Fix exceptions in ParticleModelEmitter when model is null 2025-12-17 08:40:37 +00:00
sboxbot
6c26b3bde9 ParticleEmitters aren't finished until they've emitted at least once (#3506)
Co-authored-by: nixx quality <nixx@is-fantabulo.us>
2025-11-30 17:59:28 +00: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