takahirox / MOZ_lightmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MOZ_lightmap

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

Property Type Description Requires
index integer The index of texture. ✅ Yes
intensity number Light map intensity. No, default is 1.0

About

License:MIT License