Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite8beb5604c

README.md

particle_update

Default update shader for the generic GPU-driven particle system. Runs once per frame over the full particle buffer: integrates physics (gravity, drag, wind, accel), samples the size/transparency/squash/rotation NumberSequences and the ColorSequence on the GPU, and writes a billboard quad (4 vertices) per particle in the engine's standard 92-byte vertex layout.

Bindings (see bindings.yaml): particles (read_write array<f32>, 16 f32/particle), vertices (read_write array<u32>), params (read_write array<f32>).

Usage: dispatch by identity with compute.dispatch("@builtin::deprecated.deprecatedParticles.particle_update", ...) (buffers in bindings order) — it resolves to the shader's stable guid and auto-compiles on first use (no setup).