bevy_regions 0.13.2

A region painting system using a u16 texture
Documentation

Bevy Regions

Installing

cargo add bevy_regions

Bevy Versions

Regions 0.13.x -> Bevy 0.13.x

Run example

cargo run --example basic

Description

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.

image

Texture Types

Region Map Texture The source of region index ! This is a grayscale image in R16 format and if values are totally dead black then the shader will actually make alpha == 1 right there so you can blow holes in the terrain for caves and such (youll prob want to put rock doodads there to make it look nice!)

Reference Shader Material

see https://github.com/bevyengine/bevy/blob/main/examples/shader/shader_material.rs

Editor (WIP)

https://github.com/ethereumdegen/bevy_mesh_terrain_editor