Materials & Lighting
Wave Surface
What this shows
Sampled points form a moving water surface.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
for (const vertex of vertices) position.setXYZ(vertex, x, wave, z);
position.needsUpdate = true;