纹理通道
10 个节点
本页内容 10
颜色变化
函数Varies a colour texture's hue, saturation and value by a greyscale map, centred on middle grey: grey leaves the colour alone, white and black push it opposite ways. Per-brick or per-plank colour variation from a random-per-cell map.
颜色变化 -> Texture
颜色: Texture
变化: Texture
色相范围: 数字
饱和度范围: 数字
明度范围: 数字Texture ColorVariation(
Texture color,
Texture variation,
double hueRange = 0.03,
double saturationRange = 0.15,
double valueRange = 0.15)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 颜色 | Texture | — | The colour texture. |
| 变化 | Texture | — | The map driving the variation; middle grey changes nothing. |
| 色相范围 | 数字 | 0.03 | The largest hue shift, as a share of the wheel. |
| 饱和度范围 | 数字 | 0.15 | The largest saturation change. |
| 明度范围 | 数字 | 0.15 | The largest lightness change. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
渐变映射
函数A greyscale texture coloured through a gradient: each value picks the ramp's colour at that position. How a height becomes a believable base colour.
渐变映射(灰度: Texture, 渐变: Color Ramp) -> Texture
Texture GradientMap(Texture greyscale, ColorRamp gradient)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 灰度 | Texture | — | The values, 0 to 1. |
| 渐变 | Color Ramp | — | The colours along 0 to 1. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
多段渐变映射
函数A greyscale texture coloured through a gradient written as text: each stop a position and a colour, separated by semicolons - 0 #2B1A12; 0.5 #8A4B2F; 1 #D9A273. The same stops a Color Ramp takes.
多段渐变映射(灰度: Texture, 色标: 文本) -> Texture
Texture GradientMapStops(
Texture greyscale,
string stops = "0 #000000; 1 #FFFFFF")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 灰度 | Texture | — | The values, 0 to 1. |
| 色标 | 文本 | 0 #000000; 1 #FFFFFF | The gradient's stops, a position and a colour each. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
三色渐变映射
函数A greyscale texture coloured between three colours: black, middle grey and white take the dark, middle and light ones.
三色渐变映射 -> Texture
灰度: Texture
暗色: 颜色
中间色: 颜色
亮色: 颜色Texture GradientMapThreeColors(
Texture greyscale,
ColorElement dark,
ColorElement middle,
ColorElement light)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 灰度 | Texture | — | The values, 0 to 1. |
| 暗色 | 颜色 | — | The colour of 0. |
| 中间色 | 颜色 | — | The colour of 0.5. |
| 亮色 | 颜色 | — | The colour of 1. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
双色渐变映射
函数A greyscale texture coloured between two colours: black takes the dark one, white the light one.
双色渐变映射(灰度: Texture, 暗色: 颜色, 亮色: 颜色) -> Texture
Texture GradientMapTwoColors(
Texture greyscale,
ColorElement dark,
ColorElement light)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 灰度 | Texture | — | The values, 0 to 1. |
| 暗色 | 颜色 | — | The colour of 0. |
| 亮色 | 颜色 | — | The colour of 1. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
灰度
函数A colour texture's brightness as greyscale: its luminance.
灰度(颜色: Texture) -> Texture
Texture Greyscale(Texture color)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 颜色 | Texture | — | The texture. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
色相饱和度明度
函数Shifts the hue and scales the saturation and lightness of a colour texture, computed in the encoded colour a person sees so the sliders behave as a paint program's do.
色相饱和度明度 -> Texture
颜色: Texture
色相偏移: 数字
饱和度: 数字
明度: 数字Texture HueSaturationLightness(
Texture color,
double hueShift = 0,
double saturation = 1,
double lightness = 0)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 颜色 | Texture | — | The colour texture. |
| 色相偏移 | 数字 | 0 | Turns every hue by this share of the colour wheel, -0.5 to 0.5. |
| 饱和度 | 数字 | 1 | Multiplies saturation: 0 is grey, 1 unchanged. |
| 明度 | 数字 | 0 | Added to lightness, -1 to 1. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
合并通道
函数Four greyscale textures as one colour texture's channels. Alpha is 1 where none is given. Merged as data, values unchanged, which is how packed maps (occlusion, roughness, metallic) are built.
合并通道 -> Texture
红: Texture
绿: Texture
蓝: Texture
透明度: Texture
作为颜色: 真否Texture Merge(
Texture red,
Texture green,
Texture blue,
Texture alpha,
bool asColor = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 红 | Texture | — | The red channel. |
| 绿 | Texture | — | The green channel. |
| 蓝 | Texture | — | The blue channel. |
| 透明度 | Texture | — | The alpha channel; optional. |
| 作为颜色 | 真否 | False | Whether the channels are colour in linear light rather than data. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
拆分通道
函数A colour texture's four channels as four greyscale textures.
拆分通道(颜色: Texture) -> (结果: Texture, 绿: Texture, 蓝: Texture, 透明度: Texture)
Texture Split(
Texture color,
out Texture green,
out Texture blue,
out Texture alpha)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 颜色 | Texture | — | The colour texture. |
返回
| 结果 | Texture |
| 绿 | Texture |
| 蓝 | Texture |
| 透明度 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理
着色
函数Multiplies a texture by a colour: tints white to that colour and darkens everything else toward it.
着色(纹理: Texture, 颜色: 颜色) -> Texture
Texture Tint(Texture texture, ColorElement color)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 纹理 | Texture | — | The texture; greyscale becomes colour. |
| 颜色 | 颜色 | — | The tint. |
返回
| 结果 | Texture |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 纹理通道
- 所属包
- 图像处理