- Takahiro Aoyagi, Mozilla, @takahirox
Draft
Written against the glTF 2.0 spec.
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.
"extensions": {
"EXT_texture_video": {
"videos": [
{
"uri": "texture.mp4"
},
{
"bufferView": 0,
"mimeType": "video/mp4"
}
]
}
}
"textures": [
{
"source": 0, // index in images as fallback
"extensions": {
"EXT_texture_video": {
"source": 0 // index in videos
}
}
}
]
T.B.D.
Property | Type | Description | Requires |
---|---|---|---|
uri |
string |
No | |
bufferView |
integer |
No | |
mimeType |
string |
No |
T.B.D.