volumeNoiseAt

Smooth signed noise at a 3D point, roughly −1 to 1.

volumeNoiseAt(p: Expr): Expr

Import materials from shaders/std and use materials.volumeNoiseAt.

For anything sampled through a body rather than across its surface: gas, smoke, inclusions, density.

Parameters

NameTypeNotes
pExpr

Example

const density = volumeNoiseAt(vec3(pos.member('x'), pos.member('y'), t))

See also

Used by

Aurora, FlowingGradient, MeshGradient