Skip to main content

Module materials

Module materials 

Source
Expand description

Built-in material types.

AlphaMode is re-exported alongside them because it is the type of StandardMaterial::alpha_mode: without it a game could not select masked or blended transparency through the SDK.

Structs§

EmissiveMaterial
A material that emits light without being affected by scene lighting.
StandardMaterial
A physically-based rendering (PBR) material using the metallic-roughness workflow.
UnlitMaterial
A simple, unlit material.
WireframeMaterial
A material that renders geometry as a wireframe for debugging and editor visualization.

Enums§

AlphaMode
Specifies how a material handles transparency and alpha blending.