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

@@ -12,25 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flat5-1-noimp",
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house1-col"
}
],
@@ -40,51 +28,37 @@
"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_12696_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
"meshes":[
{
"name":"Plane.001",
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TANGENT":3
"TEXCOORD_0":2
},
"indices":4,
"material":0
}
]
},
{
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7
},
"indices":8,
"indices":3,
"material":0
}
]
@@ -94,59 +68,37 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_12696",
"uri":"textures/Atlas_12696.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":28,
"max":[
12.000000953674316,
4,
2.2351741790771484e-08
],
"min":[
-11.000000953674316,
0,
-12
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":28,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":28,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":28,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":60,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":521,
"max":[
20.108463287353516,
@@ -161,19 +113,19 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":521,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":521,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5123,
"count":1359,
"type":"SCALAR"
@@ -182,56 +134,26 @@
"bufferViews":[
{
"buffer":0,
"byteLength":336,
"byteLength":6252,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":336,
"byteOffset":336,
"target":34962
},
{
"buffer":0,
"byteLength":224,
"byteOffset":672,
"target":34962
},
{
"buffer":0,
"byteLength":448,
"byteOffset":896,
"target":34962
},
{
"buffer":0,
"byteLength":120,
"byteOffset":1344,
"target":34963
},
{
"buffer":0,
"byteLength":6252,
"byteOffset":1464,
"target":34962
},
{
"buffer":0,
"byteLength":6252,
"byteOffset":7716,
"byteOffset":6252,
"target":34962
},
{
"buffer":0,
"byteLength":4168,
"byteOffset":13968,
"byteOffset":12504,
"target":34962
},
{
"buffer":0,
"byteLength":2718,
"byteOffset":18136,
"byteOffset":16672,
"target":34963
}
],
@@ -243,7 +165,7 @@
],
"buffers":[
{
"byteLength":20856,
"byteLength":19392,
"uri":"residental-house8.bin"
}
]