Better Foliage Wind
UE5 · Material Functions · World Position Offset · Static Mesh Foliage
A custom Material Function that plugs into the World Position Offset pin of any Static Mesh foliage material, replacing the stock Simple Grass Wind with a more organic, layered wind simulation — primary sway, secondary leaf flutter, and directional gusts all driven by a single Material Parameter Collection.
// Key Features
- Drop-in Material Function replacement for Simple Grass Wind on any Static Mesh foliage
- Three-layer wind model: primary trunk sway, secondary branch oscillation, and leaf flutter
- Directional gust support driven by a wind direction vector parameter
- All tuning exposed through a shared Material Parameter Collection for scene-wide wind control
- Preserves mesh pivot-based bending so tall foliage bends correctly from the base