Skip to content

takahirox/EXT_texture_video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

EXT_texture_video

Contributors

Status

Draft

Dependencies

Written against the glTF 2.0 spec.

Overview

The glTF 2.0 core spec allows only PNG and JPEG for texture images.

This EXT_texture_video extension allows video as texture sources. With this extension objects with animated textures can be easily represented in glTF, ie. TV screen.

Defining Videos

"extensions": {
    "EXT_texture_video": {
        "videos": [
            {
                "uri": "texture.mp4"
            },
            {
                "bufferView": 0,
                "mimeType": "video/mp4" 
            }
        ]
    }
}

Defining Video textures

"textures": [
    {
        "source": 0, // index in images as fallback
        "extensions": {
            "EXT_texture_video": {
                "source": 0 // index in videos
            }
        }
    }
]

Fallback

T.B.D.

Video Types

Property Type Description Requires
uri string No
bufferView integer No
mimeType string No

Video Texture Types

T.B.D.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published