All examples · Shaders and post

Vertex effects

What this example shows

The vertex half of a mesh material. Where effect recolours pixels, fn vertex(pos, ctx) moves geometry, returning a changed local position. Here: PS1-style jitter, normal-based inflate, a height-driven twist, and a wave.

Each sets only vertex (no fragment), so the surface still lights normally while the shape deforms. All from mu.time.

Starting