Vertex animation for wind and waves
Push the vertices as much as the sin wave made of time and position in the vertex shader, the flag · tree will squirm in the wind — without CPU calculation.
- Category
- Materials & art styles
Technical terms · Vertex displacement (wind sway) · Travelling sine wave · Analytic normal (derivative)