diff --git a/crates/benilla-world/src/lighting/daylight.rs b/crates/benilla-world/src/lighting/daylight.rs index 7738445c..60387289 100644 --- a/crates/benilla-world/src/lighting/daylight.rs +++ b/crates/benilla-world/src/lighting/daylight.rs @@ -1811,9 +1811,14 @@ impl BleedSeed { } } +/// MONKEY (perf): seconds between two bleed evaluations (see [`update_bleed_fixtures`]). +const BLEED_EVAL_PERIOD: f64 = 0.1; + /// One interior-lane source as the bleed evaluation needs it — the packer's own arithmetic, minus /// the flicker (a bleed must not breathe with the hearth it carries: the pool it feeds is a whole /// doorway, and a wobbling doorway is a wobbling building). +// MONKEY (perf): Copy, so the per-placement buckets in `update_bleed_fixtures` can hold rows. +#[derive(Clone, Copy)] struct BleedSource<'a> { pos: Vec3, /// Committed colour, NORMALISED like the shader's `c_norm`. @@ -1981,7 +1986,22 @@ pub fn update_bleed_fixtures( >, time: Res