Save on draw calls
This commit is contained in:
@@ -12,25 +12,13 @@
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
1
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"flat3-1-noimp",
|
||||
"translation":[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
0
|
||||
],
|
||||
"mesh":1,
|
||||
"name":"house3-col"
|
||||
}
|
||||
],
|
||||
@@ -40,28 +28,29 @@
|
||||
"alphaMode":"MASK",
|
||||
"extensions":{
|
||||
"KHR_materials_specular":{
|
||||
"specularColorFactor":[
|
||||
0.474271529955476,
|
||||
0.474271529955476,
|
||||
0.474271529955476
|
||||
]
|
||||
"specularColorTexture":{
|
||||
"index":0
|
||||
}
|
||||
},
|
||||
"KHR_materials_ior":{
|
||||
"ior":1.4500000476837158
|
||||
}
|
||||
},
|
||||
"name":"material_atlas_73934_1",
|
||||
"name":"material_joint_atlas_1",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorTexture":{
|
||||
"index":0
|
||||
"index":1
|
||||
},
|
||||
"metallicFactor":0
|
||||
"metallicFactor":0,
|
||||
"metallicRoughnessTexture":{
|
||||
"index":2
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Plane.003",
|
||||
"name":"Cube.003",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
@@ -74,80 +63,43 @@
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Cube.003",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":5,
|
||||
"NORMAL":6,
|
||||
"TEXCOORD_0":7,
|
||||
"TANGENT":8
|
||||
},
|
||||
"indices":9,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures":[
|
||||
{
|
||||
"sampler":0,
|
||||
"source":0
|
||||
},
|
||||
{
|
||||
"sampler":0,
|
||||
"source":1
|
||||
},
|
||||
{
|
||||
"sampler":0,
|
||||
"source":2
|
||||
}
|
||||
],
|
||||
"images":[
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"Atlas_73934",
|
||||
"uri":"textures/Atlas_73934.png"
|
||||
"name":"Image",
|
||||
"uri":"textures/Image.png"
|
||||
},
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"joint-atlas-1",
|
||||
"uri":"textures/joint-atlas-1.png"
|
||||
},
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"joint-atlas-1-roughness",
|
||||
"uri":"textures/joint-atlas-1-roughness.png"
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"max":[
|
||||
11,
|
||||
4,
|
||||
11
|
||||
],
|
||||
"min":[
|
||||
-11,
|
||||
0,
|
||||
-8
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5123,
|
||||
"count":72,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":372,
|
||||
"max":[
|
||||
7,
|
||||
@@ -162,25 +114,25 @@
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":372,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":372,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":8,
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":372,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":9,
|
||||
"bufferView":4,
|
||||
"componentType":5123,
|
||||
"count":1002,
|
||||
"type":"SCALAR"
|
||||
@@ -189,62 +141,32 @@
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":336,
|
||||
"byteLength":4464,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":336,
|
||||
"byteOffset":336,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":224,
|
||||
"byteOffset":672,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":448,
|
||||
"byteOffset":896,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":144,
|
||||
"byteOffset":1344,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4464,
|
||||
"byteOffset":1488,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4464,
|
||||
"byteOffset":5952,
|
||||
"byteOffset":4464,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2976,
|
||||
"byteOffset":10416,
|
||||
"byteOffset":8928,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":5952,
|
||||
"byteOffset":13392,
|
||||
"byteOffset":11904,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2004,
|
||||
"byteOffset":19344,
|
||||
"byteOffset":17856,
|
||||
"target":34963
|
||||
}
|
||||
],
|
||||
@@ -256,7 +178,7 @@
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":21348,
|
||||
"byteLength":19860,
|
||||
"uri":"residental-hut1.bin"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user