Overview
Any questions or suggestions?
Feel free to get in touch with us on our Discord
Stylized Vegetation Wind Shader URP
Bring your environment to life with a high-performance, stylized wind system optimized specifically for the Universal Render Pipeline (URP). This package offers a complete shading solution that blends beautiful cell-shaded aesthetics with physically responsive wind simulation, giving you total control over how grass, trees, and bushes behave in your game world.
Welcome to my channels!
Discord | Contact | Webpage | Facebook | Twitter | Bluesky | Mastodon
Key Features
Advanced Wind Controller Manage the weather dynamics of your entire scene through a single global "WindController" script. The system calculates wind behavior efficiently, allowing for complex movement without sacrificing performance.
- Main Wind: Simulates the primary bending of vegetation based on wind strength, speed, and wave size.
- Wiggle Effect: Adds a layer of secondary motion to simulate fast, sharp wind gusts or leaf tremors, creating a more organic and detailed look.
- Global Turbulence: Utilizes global noise tiling and angle spreading to ensure wind direction and intensity vary naturally across the world, avoiding repetitive patterns.
Stylized Rendering & ShadingDesigned for artistic cohesion, the shader provides flexible tools to match your game's visual style.
- Toon & Cell Shading: Use custom ramp textures (gradients) to define light falloff, easily achieving a flat "anime" look or a softer diffuse style.
- Translucency: Simulates light passing through thin foliage with adjustable power and range controls, complete with translucent map support.
- Normal Reconstruction: Optionally recalculate mesh normals in real-time during wind deformation to ensure accurate lighting and shading even when models are heavily bent.
Optimization & PerformanceBuilt to handle dense vegetation scenes.
- GPU Instancing: Fully supports GPU instancing for shared meshes, which is highly recommended for rendering large numbers of plants efficiently.
- LOD Friendly: Includes toggles for receiving shadows and normal reconstruction to optimize performance on lower Level of Detail (LOD) models.
Workflow & Model Preparation The system relies on Vertex Colors to precisely encode wind data, giving artists granular control over animation behavior.
- Red Channel: Controls Wiggle strength (best used with a linear gradient from bottom to top).
- Green Channel: Controls random time offsets for noise to desynchronize movement.
- Blue Channel: Controls random angle offsets.
- Alpha Channel: Controls Main Wind influence (solid colors recommended for branches, gradients for small plants).
Package Contents
- Custom URP Shader.
- WindController script for global management.
- Debug tools to visualize noise textures and wind waves.
Requirements
- Unity 2025.4 or higher.
- Universal Render Pipeline (URP).
Say Hi! Discord | Contact | Webpage | Facebook | Twitter | Bluesky | Mastodon
Low Poly Nature Project Series:
Medieval Slavica | Forest and meadows | Tinty Trees And Rocks | Toon Trees
Available FREE Remake LowPoly Style Packs:
Available Masive LowPoly Style Packs:
Available Other Masive Packs
Any questions? Contact me
Enjoy and thank you for downloading!
Feel free to leave a review if you enjoy it :-)