draco/testdata/SphereAllSame/sphere_texture_all.gltf
2021-12-09 11:26:09 -08:00

186 lines
2.7 KiB
JSON

{
"asset": {
"version": "2.0",
"generator": "draco_decoder"
},
"scenes": [
{
"nodes": [
0
]
}
],
"scene": 0,
"nodes": [
{
"mesh": 0
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TEXCOORD_0": 3
},
"indices": 0,
"mode": 4,
"material": 0
}
]
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
},
"metallicRoughnessTexture": {
"index": 1
}
},
"normalTexture": {
"index": 2
},
"occlusionTexture": {
"index": 1
},
"emissiveFactor": [
1.0,
1.0,
1.0
],
"emissiveTexture": {
"index": 3
}
}
],
"textures": [
{
"source": 0
},
{
"source": 1
},
{
"source": 2
},
{
"source": 3
}
],
"images": [
{
"uri": "256x256_all_orange.png"
},
{
"uri": "256x256_all_blue.png"
},
{
"uri": "256x256_all_red.png"
},
{
"uri": "256x256_all_green.png"
}
],
"accessors": [
{
"bufferView": 0,
"byteOffset": 0,
"componentType": 5121,
"count": 672,
"normalized": false,
"max": [
230
],
"min": [
0
],
"type": "SCALAR"
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 2,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
1,
1,
1
],
"min": [
-1,
-1,
-1
],
"type": "VEC3"
},
{
"bufferView": 3,
"byteOffset": 0,
"componentType": 5126,
"count": 231,
"normalized": false,
"max": [
0.920301,
0.991284
],
"min": [
0.008716,
0.00967097
],
"type": "VEC2"
}
],
"bufferViews": [
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 672
},
{
"buffer": 0,
"byteOffset": 672,
"byteLength": 2772
},
{
"buffer": 0,
"byteOffset": 3444,
"byteLength": 2772
},
{
"buffer": 0,
"byteOffset": 6216,
"byteLength": 1848
}
],
"buffers": [
{
"byteLength": 8064,
"uri": "buffer0.bin"
}
]
}