adcimon / morph-effect

Vertex shader that morphs geometry into primitive shapes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Morph Effect

Vertex shader that morphs geometry into primitive shapes.


To morph into a sphere the vertices are expanded.


To morph into a cube the vertices are expanded and clamped to fit the cube dimensions.


References.

Graphic Shaders, Chapter 16

About

Vertex shader that morphs geometry into primitive shapes.

License:MIT License