Save on draw calls
This commit is contained in:
@@ -12,25 +12,13 @@
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
1
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"flat1-1-noimp",
|
||||
"translation":[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
0
|
||||
],
|
||||
"mesh":1,
|
||||
"name":"house1-col"
|
||||
}
|
||||
],
|
||||
@@ -40,148 +28,78 @@
|
||||
"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
|
||||
}
|
||||
},
|
||||
{
|
||||
"doubleSided":true,
|
||||
"emissiveFactor":[
|
||||
0.5382040143013,
|
||||
0.5382040143013,
|
||||
0.5382040143013
|
||||
],
|
||||
"extensions":{
|
||||
"KHR_materials_specular":{
|
||||
"specularColorFactor":[
|
||||
1.897086119821904,
|
||||
1.897086119821904,
|
||||
1.897086119821904
|
||||
]
|
||||
},
|
||||
"KHR_materials_ior":{
|
||||
"ior":1.4500000476837158
|
||||
}
|
||||
},
|
||||
"name":"window",
|
||||
"pbrMetallicRoughness":{
|
||||
"metallicFactor":0,
|
||||
"roughnessFactor":0.019999999552965164
|
||||
"metallicRoughnessTexture":{
|
||||
"index":2
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Plane.001",
|
||||
"name":"Cube.004",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2,
|
||||
"TANGENT":3
|
||||
"TEXCOORD_0":2
|
||||
},
|
||||
"indices":4,
|
||||
"indices":3,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Cube.004",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":5,
|
||||
"NORMAL":6,
|
||||
"TEXCOORD_0":7
|
||||
},
|
||||
"indices":8,
|
||||
"material":0
|
||||
},
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":9,
|
||||
"NORMAL":10,
|
||||
"TEXCOORD_0":11
|
||||
},
|
||||
"indices":12,
|
||||
"material":1
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"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":64,
|
||||
"max":[
|
||||
12,
|
||||
4,
|
||||
0
|
||||
],
|
||||
"min":[
|
||||
-11,
|
||||
0,
|
||||
-12
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":64,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":64,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":64,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5123,
|
||||
"count":192,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":549,
|
||||
"count":561,
|
||||
"max":[
|
||||
19,
|
||||
13,
|
||||
@@ -195,135 +113,47 @@
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":549,
|
||||
"count":561,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":549,
|
||||
"count":561,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":8,
|
||||
"bufferView":3,
|
||||
"componentType":5123,
|
||||
"count":1419,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":9,
|
||||
"componentType":5126,
|
||||
"count":12,
|
||||
"max":[
|
||||
8,
|
||||
5,
|
||||
-18.450000762939453
|
||||
],
|
||||
"min":[
|
||||
-6,
|
||||
2,
|
||||
-18.450000762939453
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":10,
|
||||
"componentType":5126,
|
||||
"count":12,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":11,
|
||||
"componentType":5126,
|
||||
"count":12,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":12,
|
||||
"componentType":5123,
|
||||
"count":18,
|
||||
"count":1437,
|
||||
"type":"SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":768,
|
||||
"byteLength":6732,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":768,
|
||||
"byteOffset":768,
|
||||
"byteLength":6732,
|
||||
"byteOffset":6732,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":512,
|
||||
"byteOffset":1536,
|
||||
"byteLength":4488,
|
||||
"byteOffset":13464,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1024,
|
||||
"byteOffset":2048,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":384,
|
||||
"byteOffset":3072,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":6588,
|
||||
"byteOffset":3456,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":6588,
|
||||
"byteOffset":10044,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4392,
|
||||
"byteOffset":16632,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2838,
|
||||
"byteOffset":21024,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":144,
|
||||
"byteOffset":23864,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":144,
|
||||
"byteOffset":24008,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":96,
|
||||
"byteOffset":24152,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":36,
|
||||
"byteOffset":24248,
|
||||
"byteLength":2874,
|
||||
"byteOffset":17952,
|
||||
"target":34963
|
||||
}
|
||||
],
|
||||
@@ -335,7 +165,7 @@
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":24284,
|
||||
"byteLength":20828,
|
||||
"uri":"residental-house4.bin"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user