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

@@ -53,23 +53,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0,
0,
0
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_00005_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0,
"roughnessFactor":0.5
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -146,13 +146,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_00005",
"uri":"textures/Atlas_00005.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":[
@@ -227,7 +245,7 @@
{
"bufferView":8,
"componentType":5126,
"count":120,
"count":116,
"max":[
50,
0.21000000834465027,
@@ -243,19 +261,19 @@
{
"bufferView":9,
"componentType":5126,
"count":120,
"count":116,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":120,
"count":116,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5126,
"count":120,
"count":116,
"type":"VEC4"
},
{
@@ -390,86 +408,86 @@
},
{
"buffer":0,
"byteLength":1440,
"byteLength":1392,
"byteOffset":43696,
"target":34962
},
{
"buffer":0,
"byteLength":1440,
"byteOffset":45136,
"byteLength":1392,
"byteOffset":45088,
"target":34962
},
{
"buffer":0,
"byteLength":960,
"byteOffset":46576,
"byteLength":928,
"byteOffset":46480,
"target":34962
},
{
"buffer":0,
"byteLength":1920,
"byteOffset":47536,
"byteLength":1856,
"byteOffset":47408,
"target":34962
},
{
"buffer":0,
"byteLength":1044,
"byteOffset":49456,
"byteOffset":49264,
"target":34963
},
{
"buffer":0,
"byteLength":1560,
"byteOffset":50500,
"byteOffset":50308,
"target":34962
},
{
"buffer":0,
"byteLength":1560,
"byteOffset":52060,
"byteOffset":51868,
"target":34962
},
{
"buffer":0,
"byteLength":1040,
"byteOffset":53620,
"byteOffset":53428,
"target":34962
},
{
"buffer":0,
"byteLength":420,
"byteOffset":54660,
"byteOffset":54468,
"target":34963
},
{
"buffer":0,
"byteLength":4608,
"byteOffset":55080,
"byteOffset":54888,
"target":34962
},
{
"buffer":0,
"byteLength":4608,
"byteOffset":59688,
"byteOffset":59496,
"target":34962
},
{
"buffer":0,
"byteLength":3072,
"byteOffset":64296,
"byteOffset":64104,
"target":34962
},
{
"buffer":0,
"byteLength":6144,
"byteOffset":67368,
"byteOffset":67176,
"target":34962
},
{
"buffer":0,
"byteLength":1152,
"byteOffset":73512,
"byteOffset":73320,
"target":34963
}
],
@@ -481,7 +499,7 @@
],
"buffers":[
{
"byteLength":74664,
"byteLength":74472,
"uri":"office-exterior.bin"
}
]