Skip to content

distortDisplace

distortDisplace(uv, displacement, strength?): Node <"vec2">

Defined in: packages/nodes/src/distortion/distort.ts:223

Displacement map distortion - use a texture to distort UVs.

Node <"vec2">

Input UV coordinates

Node <"vec2">

Displacement values (vec2 or from texture.rg)

FloatInput = 0.1

Displacement strength

Node <"vec2">

Displaced UV coordinates