MaterialSurface¶
Type
MaterialSurface configures surface textures and shading multipliers.
BaseColor¶
BaseColor is the color and alpha texture asset ID, or nil. Required for "Cutout" and "Decal" pipelines.
Normal¶
Normal is the normal map asset ID (green points up), or nil.
Orm¶
Orm is the occlusion (red), roughness (green), and metallic (blue) texture asset ID, or nil.
Tint¶
Tint is the Color and opacity multiplier (default Color.new(1, 1, 1, 1)).
TileSize¶
TileSize is the texture repeat size in units, greater than 0 (default 1).
NormalStrength¶
NormalStrength is the normal map strength multiplier (default 1).
RoughnessMult¶
RoughnessMult scales roughness from 0 (glossy) to 1 (matte), default 1.
MetallicMult¶
MetallicMult scales metalness from 0 (non-metal) to 1 (metal), default 1.
AlphaCutoff¶
AlphaCutoff is the opacity cutoff from 0 to 1 for "Cutout" and "Decal" surfaces (default 0.5).
Neon¶
Neon is true when surface color emits light (default false).
TintVertex¶
TintVertex, when true, tints textured meshes by the part's Color (default false).