A Wave Race style rolling ocean, as lava. One material uses both mesh hooks: a vertex sum of sines swells a subdivided plane, and an effect reads ctx.worldPos.y (the height after displacement) to glow molten on the crests and cool to dark basalt in the troughs. All from mu.time, no useUpdate.
All examples · Shaders · As Markdown, for AIs
Lava sea
What this example shows
Starting
—