MOZ\_lightmap

April 21, 2021 ยท View on GitHub

Contributors

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

PropertyTypeDescriptionRequires
indexintegerThe index of texture.:white_check_mark: Yes
intensitynumberLight map intensity.No, default is 1.0