bevy_feronia 0.8.2

Foliage/grass scattering tools and wind simulation shaders/materials that prioritize visual fidelity/artistic freedom, a declarative api and modularity.
Documentation
use bevy_color::{Color, palettes::css::WHITE, palettes::tailwind::*};
use bevy_ecs::prelude::*;
use bevy_reflect::Reflect;

#[derive(Resource, Reflect)]
#[reflect(Resource)]
pub struct ChunkDebugConfig {
    pub aabb_color: Color,
    pub lod_colors: Vec<Color>,
    pub show_aabbs: bool,
    pub show_lod_ranges: bool,
}

impl Default for ChunkDebugConfig {
    fn default() -> Self {
        Self {
            lod_colors: vec![
                RED_500.into(),
                ORANGE_500.into(),
                YELLOW_500.into(),
                WHITE.into(),
            ],
            aabb_color: GREEN_500.into(),
            show_aabbs: false,
            show_lod_ranges: false,
        }
    }
}