MOZ\_lightmap
April 21, 2021 ยท View on GitHub
Contributors
- Takahiro Aoyagi, Mozilla, @takahirox
T.B.D.
Status
Draft
Dependencies
Written against the glTF 2.0 spec.
Overview
T.B.D.
Example screenshot
T.B.D.
Defining light map
"materials": [
{
"pbrMetallicRoughness": {
"baseColorFactor": [ 1.0, 0.0, 0.0, 1.0 ],
"baseColorTexture": {
"index": 0
},
},
"extensions": {
"MOZ_lightmap": {
index: 1,
intensity: 1.0
}
}
}
]
Fallback
T.B.D.
Light map Types
| Property | Type | Description | Requires |
|---|---|---|---|
| index | integer | The index of texture. | :white_check_mark: Yes |
| intensity | number | Light map intensity. | No, default is 1.0 |