bevy_procedural_grass
A plugin for bevy 0.12
that generates grass on top of any mesh.
Usage
Add bevy_procedural_grass
dependency to Cargo.toml
:
[]
= "0.2.0"
Generate grass on top of entity:
use *;
use *;
Features
- Grass positions generated based of mesh
- Wind Animation
- Lighting/Shadows for directional lights
- GPU Instancing
- Frustum/Distance Culling
- LOD
TODO
- Lighting for point and spot lights (Currently only supports directional lights).
- Improve Animation.
- Grass Clumping for less uniform grass generation.
- Grass Interaction, allow grass to move out of the way of other entites.
- Density Map.
- Compute Shaders, use compute shaders to generate grass instance data each frame to optimize memory usage.