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

@@ -33,22 +33,23 @@
"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_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -73,20 +74,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.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":1182,
"count":1087,
"max":[
2.4556546211242676,
0.05903172492980957,
@@ -102,19 +121,19 @@
{
"bufferView":1,
"componentType":5126,
"count":1182,
"count":1087,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":1182,
"count":1087,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":1182,
"count":1087,
"type":"VEC4"
},
{
@@ -127,32 +146,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":14184,
"byteLength":13044,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":14184,
"byteOffset":14184,
"byteLength":13044,
"byteOffset":13044,
"target":34962
},
{
"buffer":0,
"byteLength":9456,
"byteOffset":28368,
"byteLength":8696,
"byteOffset":26088,
"target":34962
},
{
"buffer":0,
"byteLength":18912,
"byteOffset":37824,
"byteLength":17392,
"byteOffset":34784,
"target":34962
},
{
"buffer":0,
"byteLength":4344,
"byteOffset":56736,
"byteOffset":52176,
"target":34963
}
],
@@ -164,7 +183,7 @@
],
"buffers":[
{
"byteLength":61080,
"byteLength":56520,
"uri":"residental-garage-door.bin"
}
]