材質
29 個節點
本頁內容 29
新增細節
函數Adds a fine detail material over a material, repeated many times across each of its tiles: the grain, pits and scratches a close camera sees and a whole tile's maps are too coarse to hold. The detail's colour and roughness shift the material's around its own average, so the material keeps its look from afar; its height adds to the material's, and its normals bend the material's by reoriented normal mapping.
新增細節 -> PBR Material
材質: PBR Material
細節: PBR Material
重複次數: 整數
強度: 數字PbrMaterial AddDetail(
PbrMaterial material,
PbrMaterial detail,
int repeats = 8,
double strength = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 細節 | PBR Material | — | The detail material: its own tile size is ignored, since it is repeated to fit. |
| 重複次數 | 整數 | 8 | How many times the detail repeats across one tile of the material. |
| 強度 | 數字 | 1 | How strongly the detail shows, 0 to 1. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
烘焙為貼圖
函數The material as maps alone, at one size: what an exported file or a game engine holds of it. Detail finer than the maps' pixels - which a material made from noises, patterns, flakes and scratches keeps, and shows up close - is gone. For seeing what a size keeps, and for a material that should stay exactly as it was baked.
烘焙為貼圖(材質: PBR Material, 尺寸: 整數) -> PBR Material
PbrMaterial BakeToMaps(PbrMaterial material, int size = 1024)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 尺寸 | 整數 | 1024 | The maps' width and height in pixels. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
混合材質
函數Mixes two materials by a mask, every channel at once: black takes the first, white the second. Moss on stone, paint over metal, rust on paint.
混合材質 -> PBR Material
第一個: PBR Material
第二個: PBR Material
蒙版: TexturePbrMaterial BlendMaterials(
PbrMaterial first,
PbrMaterial second,
Texture mask)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | PBR Material | — | Where the mask is black. |
| 第二個 | PBR Material | — | Where the mask is white. |
| 蒙版 | Texture | — | The mix at each pixel. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
打散平鋪
函數Breaks up a material's repetition: a material several copies across, every copy showing it moved, turned and scaled at random and blended across the seams, every map alike - so across a floor or a hillside the same stone no longer comes round every metre. Its normals turn with each copy, and where two copies meet the higher wins, so stones stay whole. The result tiles every Tiles Across copies, and knows it is that much wider.
打散平鋪 -> PBR Material
材質: PBR Material
橫向份數: 整數
接縫混合: 數字
旋轉: 數字
縮放變化: 數字
對比度: 數字
種子: 整數
尺寸: 整數PbrMaterial BreakUpTiling(
PbrMaterial material,
int tilesAcross = 4,
double blend = 0.3,
double rotation = 360,
double scaleVariation = 0,
double contrast = 0.6,
int seed = 0,
int size = 2048)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The tiling material. |
| 橫向份數 | 整數 | 4 | How many copies the result is across, and how far apart its own repetition is. |
| 接縫混合 | 數字 | 0.3 | How wide the seams' blend is, as a share of a copy. |
| 旋轉 | 數字 | 360 | How far each copy may turn, in degrees: 0 for a material with a direction (planks, brushed metal), 360 for one without. |
| 縮放變化 | 數字 | 0 | How much each copy may grow or shrink, 0 to 0.5. |
| 對比度 | 數字 | 0.6 | How much the higher copy wins where two meet, 0 to 1. |
| 種子 | 整數 | 0 | Which random arrangement. |
| 尺寸 | 整數 | 2048 | The maps' width and height in pixels; each copy gets this divided by Tiles Across. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
建立材質
函數A material from its maps. Only the base colour is needed: without a height the surface is flat, without a normal map one is derived from the height, without ambient occlusion likewise, and roughness and metallic fall back to their values.
建立材質 -> PBR Material
基礎色: Texture
高度: Texture
粗糙度: Texture
金屬度: Texture
法線: Texture
環境光遮蔽: Texture
自發光: Texture
不透明度: Texture
名稱: 文字
粗糙度值: 數字
金屬度值: 數字
起伏深度: 數字
法線強度: 數字
單塊尺寸(米): 數字PbrMaterial CreateMaterial(
Texture baseColor,
Texture height,
Texture roughness,
Texture metallic,
Texture normal,
Texture ambientOcclusion,
Texture emissive,
Texture opacity,
string name = "Material",
double roughnessValue = 0.6,
double metallicValue = 0,
double heightDepth = 0.02,
double normalIntensity = 4,
double tileSizeMetres = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 基礎色 | Texture | — | The surface's colour. |
| 高度 | Texture | — | The surface's height, 0 to 1; optional. |
| 粗糙度 | Texture | — | Roughness, 0 (mirror) to 1 (matte); optional. |
| 金屬度 | Texture | — | Metallic, 0 (dielectric) to 1 (metal); optional. |
| 法線 | Texture | — | A normal map, OpenGL convention; optional, derived from the height when absent. |
| 環境光遮蔽 | Texture | — | Ambient occlusion; optional, derived from the height when absent. |
| 自發光 | Texture | — | Emitted light's colour; optional. |
| 不透明度 | Texture | — | Opacity, 1 solid; optional. |
| 名稱 | 文字 | Material | The material's name, used for exported files. |
| 粗糙度值 | 數字 | 0.6 | The roughness where there is no roughness map. |
| 金屬度值 | 數字 | 0 | The metallic where there is no metallic map. |
| 起伏深度 | 數字 | 0.02 | How deep the relief is: a height of 1 rises this share of a tile's width. |
| 法線強度 | 數字 | 4 | How strong the normal map derived from the height is. |
| 單塊尺寸(米) | 數字 | 1 | The width one tile of the maps covers on a model, in metres. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
分解材質
函數Takes a material apart into its maps, each at the material's resolution; maps it does not have come back as their values or as derived from the height.
分解材質(材質: PBR Material) -> (結果: Texture, 高度: Texture, 法線: Texture, 粗糙度: Texture, 金屬度: Texture, 環境光遮蔽: Texture)
Texture DecomposeMaterial(
PbrMaterial material,
out Texture height,
out Texture normal,
out Texture roughness,
out Texture metallic,
out Texture ambientOcclusion)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
返回
| 結果 | Texture |
| 高度 | Texture |
| 法線 | Texture |
| 粗糙度 | Texture |
| 金屬度 | Texture |
| 環境光遮蔽 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
去除光照
函數Takes the light a scan was captured in out of its colour: the broad light across it, found as its brightness blurred wider than its own detail and divided out, and the shadow in its crevices, found from its ambient occlusion (its own map, or one worked out from its height) and divided out. What is left is the surface's own colour, so the material can be lit afresh by whatever light it is put in.
去除光照 -> PBR Material
材質: PBR Material
尺度: 數字
強度: 數字
遮蔽: 數字
已可平鋪: 真否PbrMaterial Delight(
PbrMaterial material,
double scale = 128,
double strength = 1,
double occlusion = 0.6,
bool tiles = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The scanned material. |
| 尺度 | 數字 | 128 | How broad a change counts as light rather than the surface's own pattern, in pixels of a 1024-pixel texture. |
| 強度 | 數字 | 1 | How much of the broad light to take out, 0 to 1. |
| 遮蔽 | 數字 | 0.6 | How much of the crevices' shadow to take out, 0 to 1: a scan shot under an overcast sky carries its occlusion in its colour. |
| 已可平鋪 | 真否 | False | Whether the scan already tiles: then its light is measured across its edges as if it repeated, so it still tiles afterwards. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
灰塵
函數A material under dust, laid by its own height and slope: it settles in the hollows and on the flat tops, where nothing carries it off, broken up so it lies in drifts rather than evenly. Dust is pale, matte and smooths the surface it covers.
灰塵 -> PBR Material
材質: PBR Material
覆蓋量: 數字
凹處: 數字
顏色: 可選顏色
打散: 數字
種子: 整數PbrMaterial Dust(
PbrMaterial material,
double amount = 0.35,
double hollows = 0.6,
ColorElement? color,
double breakup = 0.4,
int seed = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 覆蓋量 | 數字 | 0.35 | How much of the surface the dust covers, 0 to 1. |
| 凹處 | 數字 | 0.6 | Where it lies: 1 in the hollows and crevices, 0 on the flat tops, between for both. |
| 顏色 | 可選顏色 | — | The dust's colour. |
| 打散 | 數字 | 0.4 | How much it lies in drifts rather than evenly, 0 to 1. |
| 種子 | 整數 | 0 | Which drifts. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
由高光光澤度轉換
函數Converts maps made for the older specular-glossiness workflow into a metallic-roughness material: roughness is one minus glossiness, and the specular colour decides where the surface is metal.
由高光光澤度轉換 -> PBR Material
漫反射色: Texture
高光色: Texture
光澤度: Texture
名稱: 文字PbrMaterial FromSpecularGlossiness(
Texture diffuse,
Texture specular,
Texture glossiness,
string name = "Material")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 漫反射色 | Texture | — | The diffuse colour. |
| 高光色 | Texture | — | The specular colour. |
| 光澤度 | Texture | — | The glossiness, 1 a mirror. |
| 名稱 | 文字 | Material | The material's name. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
按高度混合材質
函數Mixes two materials by their heights: the second shows where it stands higher than the first, with a soft seam, so it fills or tops the first's relief naturally. Sand between cobbles, snow on rock, water in low places. Also answers the mask it used.
按高度混合材質 -> (結果: PBR Material, 蒙版: Texture)
第一個: PBR Material
第二個: PBR Material
偏移: 數字
對比度: 數字PbrMaterial HeightBlendMaterials(
PbrMaterial first,
PbrMaterial second,
out Texture mask,
double offset = 0,
double contrast = 0.9)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | PBR Material | — | The first material. |
| 第二個 | PBR Material | — | The second material. |
| 偏移 | 數字 | 0 | Raises the second material's height before comparing, -1 to 1. |
| 對比度 | 數字 | 0.9 | How sharp the seam is, 0 to 1. |
返回
| 結果 | PBR Material |
| 蒙版 | Texture |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
巨集觀變化
函數Lays slow, broad variation across a material - patches a little lighter or darker, warmer or cooler, rougher or smoother, each many times larger than the material's own detail - as weather, wear and sun leave on any real surface. Use it on a material from Break Up Tiling, whose larger extent gives the variation room; on a single tile it would repeat with the tile.
巨集觀變化 -> PBR Material
材質: PBR Material
斑塊數: 整數
亮度: 數字
色相: 數字
飽和度: 數字
粗糙度: 數字
種子: 整數PbrMaterial MacroVariation(
PbrMaterial material,
int patches = 3,
double brightness = 0.12,
double hue = 0.015,
double saturation = 0.1,
double roughness = 0.08,
int seed = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 斑塊數 | 整數 | 3 | How many patches across the material. |
| 亮度 | 數字 | 0.12 | How much lighter or darker a patch may be, 0 to 0.5. |
| 色相 | 數字 | 0.015 | How far a patch's hue may shift, as a share of the colour wheel. |
| 飽和度 | 數字 | 0.1 | How much more or less saturated a patch may be, 0 to 0.5. |
| 粗糙度 | 數字 | 0.08 | How much rougher or smoother a patch may be, 0 to 0.5. |
| 種子 | 整數 | 0 | Which random pattern. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
使材質可平鋪
函數Makes a material that does not tile - a scan, a set of maps from a photograph - tile, every map alike: each cross-faded with itself moved half a tile, so its own seams fall where the other copy covers them, the fade's edge broken up by noise so it is not a visible square.
使材質可平鋪 -> PBR Material
材質: PBR Material
過渡寬度: 數字
種子: 整數PbrMaterial MakeTileable(
PbrMaterial material,
double blendWidth = 0.25,
int seed = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 過渡寬度 | 數字 | 0.25 | How wide the cross-fade is, as a share of the material: wider hides seams better and shows more doubling. |
| 種子 | 整數 | 0 | Which noise breaks up the fade's edge. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
材質總覽
函數Several materials side by side on the same shape, in rows: a library sheet for comparing materials.
材質總覽 -> Pixel Image
材質組: PBR Material 陣列
形狀: PreviewShape
單元尺寸: 整數
列數: 整數PixelImage MaterialSheet(
PbrMaterial[] materials,
PreviewShape shape = PreviewShape.Sphere,
int cellSize = 256,
int columns = 4)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質組 | PBR Material 陣列 | — | The materials. |
| 形狀 | PreviewShape | 球體 | The shape each is shown on. |
| 單元尺寸 | 整數 | 256 | Each material's picture size in pixels. |
| 列數 | 整數 | 4 | Materials in a row. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
照片轉材質
函數A whole material from one photograph of a surface, as a bitmap-to-material tool makes one: its colour with the light it was taken in removed, its height read from its fine detail - darker, in the photograph, taken as deeper - with normals and occlusion from that height, its roughness rising in the hollows, and, if asked, made to tile. A plausible first draft from a single picture, to be refined; a scan's measured maps are better where they exist.
照片轉材質 -> PBR Material
照片: Texture
細節尺度: 數字
起伏深度: 數字
粗糙度: 數字
粗糙度變化: 數字
使其可平鋪: 真否
單塊尺寸(米): 數字
名稱: 文字PbrMaterial PhotoToMaterial(
Texture photo,
double detailScale = 48,
double heightDepth = 0.02,
double roughness = 0.7,
double roughnessVariation = 0.2,
bool makeTileable = true,
double tileSizeMetres = 1,
string name = "Photo Material")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 照片 | Texture | — | The photograph, as a colour texture. |
| 細節尺度 | 數字 | 48 | How large the detail read as relief is, in pixels of a 1024-pixel texture: larger reads broader bumps as height. |
| 起伏深度 | 數字 | 0.02 | How deep the relief is, as a share of the tile's width. |
| 粗糙度 | 數字 | 0.7 | The surface's roughness on average. |
| 粗糙度變化 | 數字 | 0.2 | How much rougher the hollows are than the tops, 0 to 0.5. |
| 使其可平鋪 | 真否 | True | Whether to make the material tile. |
| 單塊尺寸(米) | 數字 | 1 | The width the photograph covers, in metres. |
| 名稱 | 文字 | Photo Material | The material's name. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
近距離預覽
函數The material seen up close: a patch of its surface the given width across, looked down on at an angle, as through a magnifying glass. Where the material's maps carry functions - noises, patterns, flakes, scratches and what is made from them - their detail shows however close the view, finer than the maps' pixels; elsewhere the pixels show as they are.
近距離預覽 -> Pixel Image
材質: PBR Material
視野寬度(米): 數字
俯視角度: 數字
環境: PreviewEnvironment
尺寸: 整數
旋轉: 數字PixelImage PreviewCloseUp(
PbrMaterial material,
double widthMetres = 0.05,
double angle = 50,
PreviewEnvironment environment = PreviewEnvironment.Studio,
int size = 512,
double rotation = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 視野寬度(米) | 數字 | 0.05 | How wide the patch in view is, in metres: 0.05 is five centimetres. |
| 俯視角度 | 數字 | 50 | How steeply the view looks down, in degrees: 90 straight down, lower to rake across the surface. |
| 環境 | PreviewEnvironment | 攝影棚 | The lighting. |
| 尺寸 | 整數 | 512 | The picture's width and height in pixels. |
| 旋轉 | 數字 | 0 | Turns the surface under the view, in degrees. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
在天空下預覽
函數The material rendered on a sample shape under a photographed sky - an equirectangular HDR image such as Poly Haven publishes - so it can be judged in the light it will be seen in. The sky's sun is found and becomes the light that casts shadows; the rest of the sky lights the material, fills its reflections and stands behind it. It is metered as a camera meters a grey card, so an 18% grey surface facing up comes out middle grey whatever the image's own level.
在天空下預覽 -> Pixel Image
材質: PBR Material
天空: Hdr Pixel Image
形狀: PreviewShape
尺寸: 整數
起伏: PreviewRelief
旋轉: 數字
天空旋轉: 數字
曝光: 數字PixelImage PreviewInSky(
PbrMaterial material,
HdrPixelImage sky,
PreviewShape shape = PreviewShape.Sphere,
int size = 512,
PreviewRelief relief = PreviewRelief.Displacement,
double rotation = 0,
double skyRotation = 0,
double exposure = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 天空 | Hdr Pixel Image | — | The sky: an equirectangular HDR image. |
| 形狀 | PreviewShape | 球體 | The shape it is shown on. |
| 尺寸 | 整數 | 512 | The picture's width and height in pixels. |
| 起伏 | PreviewRelief | 置換 | How the height shows. |
| 旋轉 | 數字 | 0 | Turns the shape, in degrees. |
| 天空旋轉 | 數字 | 0 | Turns the sky about the vertical, in degrees, to bring its sun round. |
| 曝光 | 數字 | 0 | Brightens or darkens the sky from its automatic level, in stops. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
預覽材質
函數The material rendered on a sample shape in a lit scene. Its height shows by displacement - the surface moves, so relief shows in the silhouette and casts shadows, as a tessellating or offline renderer draws it - or by parallax occlusion, the shader technique games use on flat geometry, or through the normal map alone.
預覽材質 -> Pixel Image
材質: PBR Material
形狀: PreviewShape
環境: PreviewEnvironment
尺寸: 整數
起伏: PreviewRelief
旋轉: 數字PixelImage PreviewMaterial(
PbrMaterial material,
PreviewShape shape = PreviewShape.Sphere,
PreviewEnvironment environment = PreviewEnvironment.Studio,
int size = 512,
PreviewRelief relief = PreviewRelief.Displacement,
double rotation = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 形狀 | PreviewShape | 球體 | The shape it is shown on. |
| 環境 | PreviewEnvironment | 攝影棚 | The lighting. |
| 尺寸 | 整數 | 512 | The picture's width and height in pixels. |
| 起伏 | PreviewRelief | 置換 | How the height shows. |
| 旋轉 | 數字 | 0 | Turns the shape, in degrees. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
重新命名
函數Renames a material.
重新命名(材質: PBR Material, 名稱: 文字) -> PBR Material
PbrMaterial Rename(PbrMaterial material, string name)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 名稱 | 文字 | — | The new name. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
積雪
函數A material under snow, laid by its own height and slope: snow fills from the bottom up, burying the low places under a soft surface that rounds over what it covers, until only the highest points show; and a lighter fall settles on the flat tops still above it.
積雪 -> PBR Material
材質: PBR Material
深度: 數字
薄雪: 數字
顏色: 可選顏色
種子: 整數PbrMaterial Snow(
PbrMaterial material,
double depth = 0.4,
double dusting = 0.15,
ColorElement? color,
int seed = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 深度 | 數字 | 0.4 | How high the snow fills, as a share of the material's relief from its lowest point (0, none) to its highest (1, all buried). |
| 薄雪 | 數字 | 0.15 | How much more of the surface a light fall covers, the flattest places first, 0 to 1. |
| 顏色 | 可選顏色 | — | The snow's colour. |
| 種子 | 整數 | 0 | Which drifts. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
統一材質
函數A plain material of one colour, roughness and metallic, with no maps: paint, plastic, polished metal.
統一材質 -> PBR Material
顏色: 顏色
粗糙度: 數字
金屬度: 數字
名稱: 文字PbrMaterial UniformMaterial(
ColorElement color,
double roughness = 0.5,
double metallic = 0,
string name = "Material")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 顏色 | 顏色 | — | The colour. |
| 粗糙度 | 數字 | 0.5 | Roughness, 0 to 1. |
| 金屬度 | 數字 | 0 | Metallic, 0 to 1. |
| 名稱 | 文字 | Material | The material's name. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
檢驗材質
函數Checks a material against physically plausible ranges and shows where it falls outside them: base colour too dark (below sRGB 30, charcoal) or too bright (above sRGB 240, fresh snow) for a dielectric, metal darker than any real metal (below sRGB 180), and metallic values between 0 and 1 over large areas, which real surfaces rarely have. Problems show red on a grey copy of the base colour.
檢驗材質(材質: PBR Material) -> (結果: Pixel Image, 報告: 文字)
PixelImage ValidateMaterial(
PbrMaterial material,
out string report)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
返回
| 結果 | Pixel Image |
| 報告 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
潮溼
函數A material after rain, laid by its own height: a film of water darkens what is porous and makes everything glossier, and water stands in the low places - flat, mirror-smooth and level - with a damp margin round it. Metal under the film keeps its colour; under standing water it reflects as water does.
潮溼 -> PBR Material
材質: PBR Material
溼度: 數字
孔隙度: 數字
積水高度: 數字
水岸: 數字PbrMaterial Wet(
PbrMaterial material,
double wetness = 0.8,
double porosity = 0.5,
double waterLevel = 0.3,
double shoreline = 0.04)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 溼度 | 數字 | 0.8 | How wet the surface is, 0 (dry) to 1 (streaming). |
| 孔隙度 | 數字 | 0.5 | How much the surface drinks the water, 0 (glazed tile, metal) to 1 (brick, earth): a porous surface darkens more and stays rougher. |
| 積水高度 | 數字 | 0.3 | How high standing water reaches, as a share of the material's relief from its lowest point (0, none) to its highest (1, all under water). |
| 水岸 | 數字 | 0.04 | How soft the water's edge is, as a share of the height. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
加各向異性
函數Stretches the material's highlights along one direction: brushed metal, hair, satin (glTF KHR_materials_anisotropy).
加各向異性 -> PBR Material
材質: PBR Material
強度: 數字
旋轉: 數字PbrMaterial WithAnisotropy(
PbrMaterial material,
double strength = 0.7,
double rotation = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 強度 | 數字 | 0.7 | How stretched, 0 to 1. |
| 旋轉 | 數字 | 0 | The direction, in degrees from the texture's across. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
加清漆層
函數Adds a clear lacquer over the material: car paint, varnished wood, glazed ceramic (glTF KHR_materials_clearcoat).
加清漆層 -> PBR Material
材質: PBR Material
強度: 數字
粗糙度: 數字PbrMaterial WithClearcoat(
PbrMaterial material,
double strength = 1,
double roughness = 0.05)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 強度 | 數字 | 1 | How strong the coat is, 0 to 1. |
| 粗糙度 | 數字 | 0.05 | How rough the coat is. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
加自發光
函數Makes the material give off light: screens, lava, neon (glTF KHR_materials_emissive_strength).
加自發光 -> PBR Material
材質: PBR Material
自發光: Texture
強度: 數字PbrMaterial WithEmission(
PbrMaterial material,
Texture emissive,
double strength = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 自發光 | Texture | — | The emitted colour, black where nothing glows. |
| 強度 | 數字 | 1 | How bright; above 1 for light brighter than a white surface. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
加虹彩
函數Adds a thin film's rainbow sheen: soap bubbles, oil on water, heat-tinted titanium (glTF KHR_materials_iridescence).
加虹彩 -> PBR Material
材質: PBR Material
強度: 數字
厚度(奈米): 數字PbrMaterial WithIridescence(
PbrMaterial material,
double strength = 1,
double thicknessNm = 400)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 強度 | 數字 | 1 | How strong, 0 to 1. |
| 厚度(奈米) | 數字 | 400 | The film's thickness in nanometres, which sets its colours (100 to 1200). |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
設定尺度
函數Sets how large the material is on a model and how deep its relief: the width one tile covers, and how far a height of 1 rises as a share of it.
設定尺度 -> PBR Material
材質: PBR Material
單塊尺寸(米): 數字
起伏深度: 數字
雙面: 真否PbrMaterial WithScale(
PbrMaterial material,
double tileSizeMetres = 1,
double heightDepth = 0.02,
bool doubleSided = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 單塊尺寸(米) | 數字 | 1 | The width one tile covers, in metres. |
| 起伏深度 | 數字 | 0.02 | How deep the relief is, as a share of the tile's width. |
| 雙面 | 真否 | False | Draw both sides, for leaves and cloth. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
加光澤絨
函數Adds the soft sheen fabric has at grazing angles: velvet, satin, dust (glTF KHR_materials_sheen).
加光澤絨 -> PBR Material
材質: PBR Material
顏色: 顏色
粗糙度: 數字PbrMaterial WithSheen(
PbrMaterial material,
ColorElement color,
double roughness = 0.5)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 顏色 | 顏色 | — | The sheen's colour. |
| 粗糙度 | 數字 | 0.5 | How soft the sheen is. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理
加透射
函數Lets light pass through the material: glass, thin plastic, water (glTF KHR_materials_transmission and KHR_materials_ior).
加透射 -> PBR Material
材質: PBR Material
透射: 數字
折射率: 數字PbrMaterial WithTransmission(
PbrMaterial material,
double transmission = 1,
double ior = 1.5)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 材質 | PBR Material | — | The material. |
| 透射 | 數字 | 1 | How much light passes, 0 to 1. |
| 折射率 | 數字 | 1.5 | The index of refraction: 1.33 water, 1.5 glass, 2.4 diamond. |
返回
| 結果 | PBR Material |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 材質
- 所屬包
- 影像處理