API Referenceatlas
Material
Physically based surface properties. Defaults include white albedo, metallic 0, roughness 0.5, and AO 1.
Module: atlas
Physically based surface properties. Defaults include white albedo, metallic 0, roughness 0.5, and AO 1.
Declaration
export class Material { ... }Constructors
constructor();Properties
albedo
albedo: Color;metallic
metallic: number;roughness
roughness: number;ao
Ambient occlusion factor; defaults to 1.
ao: number;reflectivity
reflectivity: number;emissiveColor
emissiveColor: Color;emissiveIntensity
emissiveIntensity: number;normalMapStrength
normalMapStrength: number;useNormalMap
useNormalMap: boolean;transmittance
transmittance: number;ior
Index of refraction; defaults to 1.
ior: number;