Home

Awesome

Stride Terrain Demo

Implementes a terrain renderer as well as some associated features.

Features

Terrain Usage:

Add terrain component an entity, setup heightmap and material. If using a height field collider then the entity should be offset (0.5, 0, 0.5) from the origin. Material can be setup using blend layers or whaterver you like.

Spline

Add spline component, then add child entities, these children will be used as control points for the spline. Terrain can be set on the spline component if it should be aligned to the terrain heightmap.

Vegetation

Add vegetation, model and instancing component. Note that instancing has to be added after the model component. Link vegetation to terrain and setup the various properties, splines can be added to the blocking list, this will prevent vegetation from spawning on it.

Duplicate the entity and change the model and settings for any other vegetation types that you want to setup.

Limitations and issues

Resources

Textures in Resources/Terrain/Textures are from CC0Textures.com, licensed under the Creative Commons CC0 License.

Heightmap and splat map is created by yours truly.

License

See License.md

Screenshot