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

@@ -28,22 +28,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
}
}
}
],
@@ -68,20 +69,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":226,
"count":225,
"max":[
3,
0.09999999403953552,
@@ -97,19 +116,19 @@
{
"bufferView":1,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC4"
},
{
@@ -122,32 +141,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":2712,
"byteLength":2700,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":2712,
"byteOffset":2712,
"byteLength":2700,
"byteOffset":2700,
"target":34962
},
{
"buffer":0,
"byteLength":1808,
"byteOffset":5424,
"byteLength":1800,
"byteOffset":5400,
"target":34962
},
{
"buffer":0,
"byteLength":3616,
"byteOffset":7232,
"byteLength":3600,
"byteOffset":7200,
"target":34962
},
{
"buffer":0,
"byteLength":744,
"byteOffset":10848,
"byteOffset":10800,
"target":34963
}
],
@@ -159,7 +178,7 @@
],
"buffers":[
{
"byteLength":11592,
"byteLength":11544,
"uri":"residental-garage.bin"
}
]