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) × Amountto 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 × Amountdirectly. deltaTime is not applied, so Amount is a multiplier on the displacement amount itself - Amount — initial value 0.1 (
Amountinput /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 ID | Type |
|---|---|
Render Texture | RenderTexture |
Displacement RT | RenderTexture |
Amount | float |
Flow | FlowFieldInput |
Output ports
| Port ID | Type |
|---|---|
Render Texture | RenderTexture |
Scriptable members
| Path | Type |
|---|---|
amountInput | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "Displace" }) 
