Save on draw calls

This commit is contained in:
2025-03-17 19:40:50 +03:00
parent 8e140fb878
commit ea792d8ea9
101 changed files with 2141 additions and 13712 deletions

View File

@@ -126,22 +126,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.237135764977738,
0.237135764977738,
0.237135764977738
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_52716_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -283,20 +284,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_52716",
"uri":"textures/Atlas_52716.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":1201,
"count":1194,
"max":[
37,
13,
@@ -312,13 +331,13 @@
{
"bufferView":1,
"componentType":5126,
"count":1201,
"count":1194,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":1201,
"count":1194,
"type":"VEC2"
},
{
@@ -398,7 +417,7 @@
{
"bufferView":12,
"componentType":5126,
"count":217,
"count":235,
"max":[
15.431995391845703,
20.69999885559082,
@@ -414,19 +433,19 @@
{
"bufferView":13,
"componentType":5126,
"count":217,
"count":235,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":217,
"count":235,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5126,
"count":217,
"count":235,
"type":"VEC4"
},
{
@@ -438,7 +457,7 @@
{
"bufferView":17,
"componentType":5126,
"count":330,
"count":317,
"max":[
3,
3,
@@ -454,19 +473,19 @@
{
"bufferView":18,
"componentType":5126,
"count":330,
"count":317,
"type":"VEC3"
},
{
"bufferView":19,
"componentType":5126,
"count":330,
"count":317,
"type":"VEC2"
},
{
"bufferView":20,
"componentType":5126,
"count":330,
"count":317,
"type":"VEC4"
},
{
@@ -592,7 +611,7 @@
{
"bufferView":36,
"componentType":5126,
"count":359,
"count":302,
"max":[
38,
0,
@@ -608,19 +627,19 @@
{
"bufferView":37,
"componentType":5126,
"count":359,
"count":302,
"type":"VEC3"
},
{
"bufferView":38,
"componentType":5126,
"count":359,
"count":302,
"type":"VEC2"
},
{
"bufferView":39,
"componentType":5126,
"count":359,
"count":302,
"type":"VEC4"
},
{
@@ -633,248 +652,248 @@
"bufferViews":[
{
"buffer":0,
"byteLength":14412,
"byteLength":14328,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":14412,
"byteOffset":14412,
"byteLength":14328,
"byteOffset":14328,
"target":34962
},
{
"buffer":0,
"byteLength":9608,
"byteOffset":28824,
"byteLength":9552,
"byteOffset":28656,
"target":34962
},
{
"buffer":0,
"byteLength":5568,
"byteOffset":38432,
"byteOffset":38208,
"target":34963
},
{
"buffer":0,
"byteLength":6816,
"byteOffset":44000,
"byteOffset":43776,
"target":34962
},
{
"buffer":0,
"byteLength":6816,
"byteOffset":50816,
"byteOffset":50592,
"target":34962
},
{
"buffer":0,
"byteLength":4544,
"byteOffset":57632,
"byteOffset":57408,
"target":34962
},
{
"buffer":0,
"byteLength":5268,
"byteOffset":62176,
"byteOffset":61952,
"target":34963
},
{
"buffer":0,
"byteLength":7212,
"byteOffset":67444,
"byteOffset":67220,
"target":34962
},
{
"buffer":0,
"byteLength":7212,
"byteOffset":74656,
"byteOffset":74432,
"target":34962
},
{
"buffer":0,
"byteLength":4808,
"byteOffset":81868,
"byteOffset":81644,
"target":34962
},
{
"buffer":0,
"byteLength":5652,
"byteOffset":86676,
"byteOffset":86452,
"target":34963
},
{
"buffer":0,
"byteLength":2604,
"byteOffset":92328,
"byteLength":2820,
"byteOffset":92104,
"target":34962
},
{
"buffer":0,
"byteLength":2604,
"byteOffset":94932,
"byteLength":2820,
"byteOffset":94924,
"target":34962
},
{
"buffer":0,
"byteLength":1736,
"byteOffset":97536,
"byteLength":1880,
"byteOffset":97744,
"target":34962
},
{
"buffer":0,
"byteLength":3472,
"byteOffset":99272,
"byteLength":3760,
"byteOffset":99624,
"target":34962
},
{
"buffer":0,
"byteLength":1728,
"byteOffset":102744,
"byteOffset":103384,
"target":34963
},
{
"buffer":0,
"byteLength":3960,
"byteOffset":104472,
"byteLength":3804,
"byteOffset":105112,
"target":34962
},
{
"buffer":0,
"byteLength":3960,
"byteOffset":108432,
"byteLength":3804,
"byteOffset":108916,
"target":34962
},
{
"buffer":0,
"byteLength":2640,
"byteOffset":112392,
"byteLength":2536,
"byteOffset":112720,
"target":34962
},
{
"buffer":0,
"byteLength":5280,
"byteOffset":115032,
"byteLength":5072,
"byteOffset":115256,
"target":34962
},
{
"buffer":0,
"byteLength":1716,
"byteOffset":120312,
"byteOffset":120328,
"target":34963
},
{
"buffer":0,
"byteLength":324,
"byteOffset":122028,
"byteOffset":122044,
"target":34962
},
{
"buffer":0,
"byteLength":324,
"byteOffset":122352,
"byteOffset":122368,
"target":34962
},
{
"buffer":0,
"byteLength":216,
"byteOffset":122676,
"byteOffset":122692,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":122892,
"byteOffset":122908,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":123324,
"byteOffset":123340,
"target":34963
},
{
"buffer":0,
"byteLength":324,
"byteOffset":123516,
"byteOffset":123532,
"target":34962
},
{
"buffer":0,
"byteLength":324,
"byteOffset":123840,
"byteOffset":123856,
"target":34962
},
{
"buffer":0,
"byteLength":216,
"byteOffset":124164,
"byteOffset":124180,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":124380,
"byteOffset":124396,
"target":34962
},
{
"buffer":0,
"byteLength":1536,
"byteOffset":124812,
"byteOffset":124828,
"target":34962
},
{
"buffer":0,
"byteLength":1536,
"byteOffset":126348,
"byteOffset":126364,
"target":34962
},
{
"buffer":0,
"byteLength":1024,
"byteOffset":127884,
"byteOffset":127900,
"target":34962
},
{
"buffer":0,
"byteLength":2048,
"byteOffset":128908,
"byteOffset":128924,
"target":34962
},
{
"buffer":0,
"byteLength":456,
"byteOffset":130956,
"byteOffset":130972,
"target":34963
},
{
"buffer":0,
"byteLength":4308,
"byteOffset":131412,
"byteLength":3624,
"byteOffset":131428,
"target":34962
},
{
"buffer":0,
"byteLength":4308,
"byteOffset":135720,
"byteLength":3624,
"byteOffset":135052,
"target":34962
},
{
"buffer":0,
"byteLength":2872,
"byteOffset":140028,
"byteLength":2416,
"byteOffset":138676,
"target":34962
},
{
"buffer":0,
"byteLength":5744,
"byteOffset":142900,
"byteLength":4832,
"byteOffset":141092,
"target":34962
},
{
"buffer":0,
"byteLength":2364,
"byteOffset":148644,
"byteOffset":145924,
"target":34963
}
],
@@ -886,7 +905,7 @@
],
"buffers":[
{
"byteLength":151008,
"byteLength":148288,
"uri":"home-exterior.bin"
}
]