Files
linguist/samples/JSON/Material_Alpha_01.gltf
John Gardner 2b65318a61 Register 12 new JSON filenames/extensions (#4053)
Added:
* .avsc
* .gltf
* .htmlhintrc
* .jscsrc
* .jslintrc
* .jsonl
* .tern-config
* .tern-project
* .tfstate
* .tfstate.backup
* .webapp
* .webmanifest
2018-03-02 20:33:47 +11:00

136 lines
2.0 KiB
JSON

{
"accessors": [
{
"bufferView": 0,
"componentType": 5126,
"count": 4,
"type": "VEC3",
"max": [
0.5,
0.5,
0.0
],
"min": [
-0.5,
-0.5,
0.0
],
"name": "Positions Accessor"
},
{
"bufferView": 1,
"componentType": 5126,
"count": 4,
"type": "VEC4",
"name": "Colors Accessor"
},
{
"bufferView": 2,
"componentType": 5126,
"count": 4,
"type": "VEC2",
"name": "UV Accessor 0"
},
{
"bufferView": 3,
"componentType": 5125,
"count": 6,
"type": "SCALAR",
"name": "Indices Accessor"
}
],
"asset": {
"generator": "glTF Asset Generator",
"version": "2.0",
"extras": {
"Attributes": "VertexColor_Vector4_Float - AlphaMode_Mask - AlphaCutoff - DoubleSided - BaseColorFactor - BaseColorTexture"
}
},
"buffers": [
{
"uri": "Material_Alpha_01.bin",
"byteLength": 168
}
],
"bufferViews": [
{
"buffer": 0,
"byteLength": 48,
"name": "Positions"
},
{
"buffer": 0,
"byteOffset": 48,
"byteLength": 64,
"name": "Colors"
},
{
"buffer": 0,
"byteOffset": 112,
"byteLength": 32,
"name": "Texture Coords 0"
},
{
"buffer": 0,
"byteOffset": 144,
"byteLength": 24,
"name": "Indices"
}
],
"images": [
{
"uri": "Texture_baseColor.png"
}
],
"materials": [
{
"pbrMetallicRoughness": {
"baseColorFactor": [
1.0,
1.0,
1.0,
0.6
],
"baseColorTexture": {
"index": 0
}
},
"alphaMode": "MASK",
"alphaCutoff": 0.7,
"doubleSided": true
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"POSITION": 0,
"COLOR_0": 1,
"TEXCOORD_0": 2
},
"indices": 3,
"material": 0
}
]
}
],
"nodes": [
{
"mesh": 0
}
],
"scene": 0,
"scenes": [
{
"nodes": [
0
]
}
],
"textures": [
{
"source": 0
}
]
}