Commit Graph

20 Commits

Author SHA1 Message Date
Dan Balasescu b56a78c6ec
Adjust with framework changes 2023-12-04 08:51:21 +09:00
Dean Herbert 0858bef66e Update `SmokeSegment` in line with framework vertex changes 2023-08-17 18:12:04 +09:00
Salman Ahmed 678e8ed736 Update UBO usages inline with framework changes 2023-03-16 14:06:35 +03:00
Dan Balasescu 7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
Alden Wu 815cd56f13 Add support for nonsquare smoke textures 2022-11-20 16:50:15 -08:00
Thomas Müller-Höhne 9ef43ebd83 Fix compilation after framework-side PR updates 2022-11-12 21:24:12 +09:00
Thomas Müller-Höhne fa8e38d9d6 Target rounded fragment shader
Compatibility with osu-framework change https://github.com/ppy/osu-framework/pull/5512
2022-11-12 17:18:23 +09:00
Alden Wu 23b7b9013e Change smoke quadbatch growth factor to 2 from 1.5 2022-10-20 23:37:05 -07:00
Alden Wu 50ab9bff8b Rename for consistency 2022-10-18 23:05:09 -07:00
Alden Wu a9b8ba94fa Add necessary newlines 2022-10-18 22:59:58 -07:00
Alden Wu 343c560b1b Remove smoke point maximum/cap 2022-10-18 22:54:17 -07:00
Alden Wu 46bcabea6c Separate smoke rotation seed and index 2022-10-14 12:42:04 -07:00
Alden Wu 029f896db8 Use `StatelessRNG` for smoke rotation 2022-10-13 16:18:47 -07:00
Alden Wu 310588ad94 Renew smoke rng every draw 2022-10-13 13:01:05 -07:00
Alden Wu 9d54467145 Make smoke skinnable lifetime more robust 2022-10-05 19:13:06 -07:00
Dean Herbert 8f0ef99e10 Privatise some fields 2022-10-05 18:54:14 +09:00
Dean Herbert bd82dfc333 Remove custom radius implementation 2022-10-05 18:53:07 +09:00
Dean Herbert 91d877e893 Set `LifetimeEnd` once rather than computing on every access 2022-10-05 18:52:01 +09:00
Dean Herbert 6628ab5190 Refactor to avoid DI / event flow
There's always one active smoke segment and it's the direct child of
`SmokeContainer`. This can be simplified as such.
2022-10-05 18:37:14 +09:00
Dean Herbert 1e5ff2679b Rename classes to better emphasise that `Smoke` is a single trail segment 2022-10-05 18:29:16 +09:00