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_73934_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_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":36,
"count":144,
"max":[
2.5,
0.12999999523162842,
@@ -90,64 +109,64 @@
"min":[
-2.5,
0.11999998986721039,
-0.7522088885307312
-3.752208948135376
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":36,
"count":144,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":36,
"count":144,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":36,
"count":144,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":54,
"count":216,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":432,
"byteLength":1728,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":432,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":864,
"target":34962
},
{
"buffer":0,
"byteLength":576,
"byteOffset":1152,
"target":34962
},
{
"buffer":0,
"byteLength":108,
"byteLength":1728,
"byteOffset":1728,
"target":34962
},
{
"buffer":0,
"byteLength":1152,
"byteOffset":3456,
"target":34962
},
{
"buffer":0,
"byteLength":2304,
"byteOffset":4608,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":6912,
"target":34963
}
],
@@ -159,7 +178,7 @@
],
"buffers":[
{
"byteLength":1836,
"byteLength":7344,
"uri":"zebra.bin"
}
]