Add Mars surface atmosphere particels

This commit is contained in:
Thomas
2026-03-05 19:21:41 +00:00
parent 635869f226
commit 4407932a2d
4 changed files with 85 additions and 5 deletions

View File

@@ -578,6 +578,15 @@ void level_update(Level *level, float dt) {
}
}
/* Emit ambient atmosphere dust on Mars Surface levels before the
* particle update pass so new motes get their first physics step
* this frame — consistent with other per-frame emitters. */
if (level->map.parallax_style == PARALLAX_STYLE_MARS) {
particle_emit_atmosphere_dust(
level->camera.pos,
level->camera.viewport);
}
/* Update particles */
particle_update(dt);