Skip to content

Instantly share code, notes, and snippets.

@pmark
Created December 30, 2020 14:45
Show Gist options
  • Save pmark/006de865aa25156f8267b4dabff608c6 to your computer and use it in GitHub Desktop.
Save pmark/006de865aa25156f8267b4dabff608c6 to your computer and use it in GitHub Desktop.
Geometry shader modifier: warp effect
_geometry.position.xz += _geometry.position.xz
* sin(1.0 * _geometry.position.y + 1 * u_time) * 0.05
* (u_time < 3.0 ? u_time / 3.0 : 1.0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment