Displace
Visual · gpu_visualWarp a source texture's sampling by a displacement texture (RG-vector or luminance).
effectdisplacewarpshader
Parameters
| Name | Type | Range | Default | Description |
|---|---|---|---|---|
amount | float | 0 – 1 | 0.3 | displacement strength |
mode | choice | 0 – 1 | 0 | How the displacement texture drives the offset (RG Vector, Luminance) |
Ports
| Port | Direction | Description |
|---|---|---|
source | in | |
displace | in | |
texture | out |
Backed by a bundled shader file: displace.wgsl