Expand description
This crate provides a terrain system for the game. The terrain is divided into tiles, each of which has its own heightmap and splat maps for texture blending. The terrain system is designed to be efficient and flexible, allowing for dynamic updates to the terrain data and seamless integration with the rendering and physics systems.
This module is still WIP.
§Example
fn init(mut commands: Commands, asset_server: Res<AssetServer>) {
// Load the terrain from the specified path
commands.spawn((
Terrain::load("tests/terrain"),
TerrainRenderer::new(&asset_server),
TerrainPhysics::default()
));
}