How renanbomtempo/polygon-wind works
Polygon Wind Shader is a Unity shader for subtle, organic tree movement, intended especially for low-poly trees and not heavy wind. The documented workflow is to apply the shader to a material and the material to a tree asset. Shader parameters and mesh vertex colors influence the calculated vertex position: red marks branches for up/down movement, while blue marks leaves for wiggle. Only README-described relationships are shown; shader source was not available for inspection.
Main entry points: PW_Tree.shader Polygon Wind Shader
Components 7
Other components
- User
- Polygon Wind Shader
PW_Tree.shader - Unity Material
- Tree Mesh Asset
- Vertex Colors
- Wind Parameters
- Final Vertex Position
Connections 8
- User → Unity Material: applies shader to
README.md - User → Tree Mesh Asset: applies material to
README.md - Polygon Wind Shader → Unity Material: applied to
README.md - Unity Material → Tree Mesh Asset: applied to
README.md - Tree Mesh Asset → Vertex Colors: provides colors
README.md - Vertex Colors → Polygon Wind Shader: influence movement
README.md - Wind Parameters → Polygon Wind Shader: configure movement
README.md - Polygon Wind Shader → Final Vertex Position: calculates
README.md