bevy_lights 0.2.2

Practical lights for Bevy: fires that flicker and flare as they kindle, a budgeted pool of real lights placed over thousands of virtual ones, and billboard shader flames.
Documentation
//! The engine-free half of the crate: plain `f32` maths with no `bevy` in it.
//!
//! `tests/leaf.rs` enforces that. The point is that the shapes of these curves — how a flame
//! flickers, how a light takes hold, how far a raised light reaches, how a flame's height and phase
//! are packed — are testable without an app, a window or a GPU, and are the part of the crate a
//! host is most likely to want to reuse in its own systems.

pub mod char;
pub mod cinematography;
pub mod fire;
pub mod pool;
pub mod reach;
pub mod tag;

pub use char::{EMBER_AT, char_field, char_radiance, coal_radiance};
pub use cinematography::{
    HIGH_KEY, LOW_KEY, MOON_KEY, blackbody_colour, blackbody_luminance, fill_for, fire_lumens, key_to_fill,
    stops, white_balanced,
};
pub use fire::{
    CALM_FLICKER_DEPTH, FLICKER_DEPTH, KINDLE_SECONDS, MAX_FLICKER_DEPTH, PUFFING_CONSTANT,
    WHIPPING_FLICKER_DEPTH, flicker_depth, flicker_factor, flicker_factor_of, flicker_mean, flicker_rate,
    flicker_swing, kindle_gain,
};
pub use pool::{FADE_SECONDS, HYSTERESIS, fade_factor, fade_out_factor, hand_off, preferred};
pub use reach::{RANGE_MARGIN, flame_light_offset, raised_light};
pub use tag::{pack_flame_tag, set_flame_brightness, unpack_flame_tag};