纹理扭曲
5 个节点
本页内容 5
方向扭曲
函数Pushes each pixel one way by an amount read from a second texture: white pushes the full distance, black not at all. Ripples, leaning grass, streaks.
签名
方向扭曲 -> Texture
纹理: Texture
驱动纹理: Texture
角度: 数字
距离: 数字Texture DirectionalWarp(
Texture texture,
Texture by,
double angle = 0,
double distance = 32)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 纹理 | Texture | — | The texture to distort. |
| 驱动纹理 | Texture | — | How far each pixel is pushed, 0 to 1. |
| 角度 | 数字 | 0 | The direction, in degrees: 0 right, 90 down. |
| 距离 | 数字 | 32 | The full push, in pixels of a 1024-pixel texture. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理扭曲
- 所属包
- 图像处理
坡度模糊
函数Smears a texture along the slopes of another, step by step, following each slope as it bends: the chipped edges of stone, eroded rock, paint that has run. Min eats into bright areas from their slopes, Max spreads them, Blur smears.
签名
坡度模糊 -> Texture
纹理: Texture
坡度来源: Texture
采样数: 整数
强度: 数字
模式: Slope Blur ModeTexture SlopeBlur(
Texture texture,
Texture slope,
int samples = 8,
double intensity = 8,
SlopeBlurMode mode = SlopeBlurMode.Blur)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 纹理 | Texture | — | The texture to smear. |
| 坡度来源 | Texture | — | The texture whose slopes are followed. |
| 采样数 | 整数 | 8 | How many steps; more is smoother and slower. |
| 强度 | 数字 | 8 | How far each step goes: at 1, a slope rising the full height across the texture steps 1 pixel of a 1024-pixel texture. |
| 模式 | Slope Blur Mode | 模糊 | How the readings along the path combine. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理扭曲
- 所属包
- 图像处理
旋涡
函数Twists a texture round its centre, most at the middle and not at all at the radius.
签名
旋涡(纹理: Texture, 圈数: 数字, 半径: 数字) -> Texture
Texture Swirl(
Texture texture,
double turns = 0.5,
double radius = 0.5)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 纹理 | Texture | — | The texture. |
| 圈数 | 数字 | 0.5 | How far the centre turns, in whole turns; negative twists the other way. |
| 半径 | 数字 | 0.5 | Where the twist ends, as a share of the width. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理扭曲
- 所属包
- 图像处理
矢量扭曲
函数Pushes each pixel by a vector field: the first texture's values move it across, the second's down, both centred on middle grey.
签名
矢量扭曲 -> Texture
纹理: Texture
横向: Texture
纵向: Texture
距离: 数字Texture VectorWarp(
Texture texture,
Texture across,
Texture down,
double distance = 32)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 纹理 | Texture | — | The texture to distort. |
| 横向 | Texture | — | Movement across, middle grey none. |
| 纵向 | Texture | — | Movement down, middle grey none. |
| 距离 | 数字 | 32 | The movement at white or black, in pixels of a 1024-pixel texture. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理扭曲
- 所属包
- 图像处理
扭曲
函数Pushes each pixel along the slope of a second texture: where it rises, the image slides. Small amounts roughen edges; large ones swirl like marble.
签名
扭曲(纹理: Texture, 驱动纹理: Texture, 强度: 数字) -> Texture
Texture Warp(Texture texture, Texture by, double intensity = 2)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 纹理 | Texture | — | The texture to distort. |
| 驱动纹理 | Texture | — | The texture whose slope pushes. |
| 强度 | 数字 | 2 | How far: at 1, a slope that rises the full height across the whole texture pushes 4 pixels of a 1024-pixel texture. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理扭曲
- 所属包
- 图像处理