Emissive surfaces
Emission makes a surface contribute its own visible radiance, including values above the display white level.
Configuration​
import {createPBRMaterial, type PBRMaterial} from '@luma.gl/engine/materials';
const material: PBRMaterial = createPBRMaterial(device, {
uniforms: {
emissiveFactor: [1, 0.2, 0.05],
emissiveStrength: 4
}
});
// Pass material to a compatible Model through its material prop.
Emission alone does not create a scene light or illuminate nearby geometry. Bloom is a separate rendering effect.
Parameters​
| Parameter | Default | Description |
|---|---|---|
emissiveFactor | [0, 0, 0] | RGB color of the emitted radiance. |
emissiveStrength | 1 | Multiplier for emissive radiance; values above 1 support bright HDR emission. |
emissiveMapEnabled | false | Enables emissive texture sampling. |
Texture bindings​
| Field | Model define | Description |
|---|---|---|
pbr_emissiveSampler | HAS_EMISSIVEMAP: true | sRGB emissive texture, multiplied by the emissive color and strength. |
See Using PBR materials for material setup.
Remarks​
- Core glTF supplies emissive color and texture.
KHR_materials_emissive_strengthadds the strength multiplier. Tone mapping and display brightness affect how HDR emission appears.