Crates.io | bevy_regions |
lib.rs | bevy_regions |
version | 0.15.0 |
source | src |
created_at | 2024-05-09 00:21:50.58904 |
updated_at | 2024-11-30 00:10:44.320092 |
description | A region painting system using a u16 texture |
homepage | |
repository | https://github.com/ethereumdegen/bevy_regions |
max_upload_size | |
id | 1234748 |
size | 193,486 |
cargo add bevy_regions
Regions 0.13.x -> Bevy 0.13.x
cargo run --example basic
A very bevy-centric region painting plugin that takes advantage of entities, components and systems as much as possible to be as easy to understand and interact with as possible.
An example of it being used in the bevy_mesh_terrain_editor to allow the editor to paint regions
Region Map Texture The source of region index ! This uses a U8 texture which signifies the region index at any particular position.
see https://github.com/bevyengine/bevy/blob/main/examples/shader/shader_material.rs