bevy_blockout

Crates.iobevy_blockout
lib.rsbevy_blockout
version0.3.1
created_at2025-05-03 00:53:06.009068+00
updated_at2025-11-23 19:20:34.19872+00
descriptionA utility package that provides blockout utilities.
homepagehttps://github.com/rust-adventure/bevy-examples/tree/main/libs/bevy_blockout
repositoryhttps://github.com/rust-adventure/bevy-examples
max_upload_size
id1658372
size330,464
Chris Biscardi (ChristopherBiscardi)

documentation

README

Bevy Blockout

demo

demo

A utility package that provides blockout utilities. Currently this includes a triplanar blockout mesh that uses worldspace coordinates to texture meshes using a grid where 1 box equals 1 world unit.

[!NOTE]
This crate is in development. Expect changes.

Quick Start

commands.spawn((
    Mesh3d(meshes.add(Cuboid::from_size(Vec3::new(
        1., 4., 2.,
    )))),
    Transform::from_xyz(1., 2., 0.),
    MeshMaterial3d(materials.add(ExtendedMaterial {
        base: StandardMaterial {
            base_color: SKY_400.into(),
            ..default()
        },
        extension: BlockoutMaterialExt::default(),
    })),
));
Commit count: 223

cargo fmt