| Crates.io | bevy_blockout |
| lib.rs | bevy_blockout |
| version | 0.2.0-rc.1 |
| created_at | 2025-05-03 00:53:06.009068+00 |
| updated_at | 2025-09-13 15:43:16.339408+00 |
| description | A utility package that provides blockout utilities. |
| homepage | https://github.com/rust-adventure/bevy-examples/libs/bevy_blockout |
| repository | https://github.com/rust-adventure/bevy-examples |
| max_upload_size | |
| id | 1658372 |
| size | 236,370 |

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.
commands.spawn((
Mesh3d(meshes.add(Cuboid::from_size(Vec3::new(
10., 4., 20.,
)))),
Transform::from_xyz(10.0, 2., 0.0),
MeshMaterial3d(materials.add(ExtendedMaterial {
base: StandardMaterial {
base_color: SKY_400.into(),
..default()
},
extension: BlockoutMaterialExt::default(),
})),
));