Save on draw calls
This commit is contained in:
@@ -12,25 +12,13 @@
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
1
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"flat9-1-noimp",
|
||||
"translation":[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
0
|
||||
],
|
||||
"mesh":1,
|
||||
"name":"house3-col"
|
||||
}
|
||||
],
|
||||
@@ -40,53 +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_32944_1",
|
||||
"name":"material_joint_atlas_1",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorTexture":{
|
||||
"index":0
|
||||
"index":1
|
||||
},
|
||||
"metallicFactor":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"doubleSided":true,
|
||||
"emissiveFactor":[
|
||||
0.42920592427253723,
|
||||
0.42920592427253723,
|
||||
0.42920592427253723
|
||||
],
|
||||
"extensions":{
|
||||
"KHR_materials_specular":{
|
||||
"specularColorFactor":[
|
||||
1.9512351200761842,
|
||||
1.9512351200761842,
|
||||
1.9512351200761842
|
||||
]
|
||||
},
|
||||
"KHR_materials_ior":{
|
||||
"ior":1.4500000476837158
|
||||
"metallicFactor":0,
|
||||
"metallicRoughnessTexture":{
|
||||
"index":2
|
||||
}
|
||||
},
|
||||
"name":"window",
|
||||
"pbrMetallicRoughness":{
|
||||
"metallicFactor":0.20000000298023224,
|
||||
"roughnessFactor":0.019999999552965164
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Plane.001",
|
||||
"name":"Cube.003",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
@@ -95,32 +59,8 @@
|
||||
"TEXCOORD_0":2,
|
||||
"TANGENT":3
|
||||
},
|
||||
"indices":4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Cube.003",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":5,
|
||||
"NORMAL":6,
|
||||
"TEXCOORD_0":7,
|
||||
"TANGENT":8
|
||||
},
|
||||
"indices":9,
|
||||
"indices":4,
|
||||
"material":0
|
||||
},
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":10,
|
||||
"NORMAL":11,
|
||||
"TEXCOORD_0":12,
|
||||
"TANGENT":13
|
||||
},
|
||||
"indices":14,
|
||||
"material":1
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -129,60 +69,38 @@
|
||||
{
|
||||
"sampler":0,
|
||||
"source":0
|
||||
},
|
||||
{
|
||||
"sampler":0,
|
||||
"source":1
|
||||
},
|
||||
{
|
||||
"sampler":0,
|
||||
"source":2
|
||||
}
|
||||
],
|
||||
"images":[
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"Atlas_32944",
|
||||
"uri":"textures/Atlas_32944.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":80,
|
||||
"max":[
|
||||
16,
|
||||
9,
|
||||
20
|
||||
],
|
||||
"min":[
|
||||
-18,
|
||||
0,
|
||||
-15
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":80,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":80,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":80,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5123,
|
||||
"count":228,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":1814,
|
||||
"count":1841,
|
||||
"max":[
|
||||
17,
|
||||
18,
|
||||
@@ -196,159 +114,59 @@
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":1814,
|
||||
"count":1841,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":1814,
|
||||
"count":1841,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":8,
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":1814,
|
||||
"count":1841,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":9,
|
||||
"bufferView":4,
|
||||
"componentType":5123,
|
||||
"count":4368,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":10,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"max":[
|
||||
16.5,
|
||||
10,
|
||||
20.5
|
||||
],
|
||||
"min":[
|
||||
-18.5,
|
||||
2,
|
||||
-15.5
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":11,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":12,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":13,
|
||||
"componentType":5126,
|
||||
"count":28,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":14,
|
||||
"componentType":5123,
|
||||
"count":42,
|
||||
"count":4410,
|
||||
"type":"SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteLength":22092,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":960,
|
||||
"byteLength":22092,
|
||||
"byteOffset":22092,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":640,
|
||||
"byteOffset":1920,
|
||||
"byteLength":14728,
|
||||
"byteOffset":44184,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1280,
|
||||
"byteOffset":2560,
|
||||
"byteLength":29456,
|
||||
"byteOffset":58912,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":456,
|
||||
"byteOffset":3840,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":21768,
|
||||
"byteOffset":4296,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":21768,
|
||||
"byteOffset":26064,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":14512,
|
||||
"byteOffset":47832,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":29024,
|
||||
"byteOffset":62344,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":8736,
|
||||
"byteOffset":91368,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":336,
|
||||
"byteOffset":100104,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":336,
|
||||
"byteOffset":100440,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":224,
|
||||
"byteOffset":100776,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":448,
|
||||
"byteOffset":101000,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":84,
|
||||
"byteOffset":101448,
|
||||
"byteLength":8820,
|
||||
"byteOffset":88368,
|
||||
"target":34963
|
||||
}
|
||||
],
|
||||
@@ -360,7 +178,7 @@
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":101532,
|
||||
"byteLength":97188,
|
||||
"uri":"residental-house9.bin"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user