Displace

Read with AI
All docs in one file (llms-full.txt)
Displace #Fx #Node
Displace

Shifts the UVs of the input RT using a displacement texture. There are two displacement sources, and when Flow is connected it takes priority. Because the encodings differ, they are split into dedicated passes.

  • Displacement RT — an ordinary RT. Adds (RG - 0.5) × Amount to the UV. That is, RG=0.5 is zero displacement, so 0-1 textures such as Noise can be plugged in as they are
  • Flow — a FlowField (signed, UV displacement per second). Adds RG × Amount directly. deltaTime is not applied, so Amount is a multiplier on the displacement amount itself
  • Amount — initial value 0.1 (Amount input / amountInput). No clamping

If neither displacement source is connected, the input passes through (the input is copied as is). Removing the In input clears the output to black.

The output supports HDR, and its resolution is the same as the In input.

Video

Input ports

Port IDType
Render TextureRenderTexture
Displacement RTRenderTexture
Amountfloat
FlowFlowFieldInput

Output ports

Port IDType
Render TextureRenderTexture

Scriptable members

PathType
amountInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "Displace" })

Pages linking here