紋理通道
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 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 紋理通道
- 所屬包
- 影像處理