置换节点

置换节点。

置换节点 基于输入矢量对像素位置进行置换。

此节点用于模拟物质现象,像热空气扭曲,质地不均匀玻璃的折射或超现实视频特效。

输入

图像

标准颜色输入。

置换

置换贴图的输入。若输入为颜色图像,系统会自动将其转换为矢量格式:第一个通道(红)对应 X 轴方向的置换,第二个通道(绿)对应 Y 轴方向的置换。若输入为灰度图像且两个通道值相等,则该图像在 X 和 Y 两个方向上的置换将保持一致。

采样

插值

Determines how pixel values are interpolated when scaling or transforming images.

最近:

Uses the value of the closest pixel with no smoothing. This is the fastest method and is well-suited for pixel art or low-resolution images where sharp, blocky edges are desirable. In animations, motion appears in single-pixel steps, which can cause visible jittering.

双线性:

Averages the values of surrounding pixels to create a smoother result than Nearest. Provides a good balance between performance and visual quality.

双立方:

Computes a weighted average of a larger neighborhood of pixels for even smoother results. Ideal for photographic images or gradients where preserving fine detail is important.

各向异性:

Adjusts interpolation based on the direction and scale of the transformation. Helps reduce blurring or aliasing when scaling at steep angles or uneven resolutions, especially useful in textures viewed at oblique angles or in detailed 3D projections.

扩展 X/Y

将扩展模式应用于 X 轴。

剪辑:

图像之外的区域用透明填充。

扩选:

图像之外的区域由图像中最接近边界的像素填充。

重复:

图像之外的区域由图像重复填充。

Note

对于 各向异性 插值 模式,此选项不可用。

输出

图像

标准颜色输出。