@luma.gl/engine/materials
MaterialFactory defines a binding schema and creates Material instances that models can share.
Explore each PBR material property with an inline example, its parameters, and texture bindings.
Create materials with createPBRMaterial from @luma.gl/engine/materials. See PBR materials for factory options and resource ownership.
The optical plugins implement refractive glass and reflective surfaces.
| Capability | Pages |
|---|---|
| Surface color and coverage | Base color, opacity, double-sided surfaces |
| Metallic and rough surfaces | Roughness, metallic |
| Self-emission | Emissive surfaces and strength |
| Surface detail | Normal mapping, bump mapping, ambient occlusion |
| Light response | Unlit, specular, index of refraction |
| Layered and directional response | Clearcoat, sheen, anisotropy, iridescence |
| Transmission and volumes | Transmission, thickness and attenuation, dispersion |
| Translucency and scattering | Diffuse transmission, volume scattering, thin-wall scattering |
| Texture inputs and lighting | Coordinates and transforms, lightmaps, environment lighting |