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,31 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flag8-1-noimp",
"rotation":[
0,
1,
0,
1.6292068494294654e-07
],
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house4-col"
}
],
@@ -46,28 +28,29 @@
"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.004",
"name":"Cube.007",
"primitives":[
{
"attributes":{
@@ -76,21 +59,7 @@
"TEXCOORD_0":2,
"TANGENT":3
},
"indices":4
}
]
},
{
"name":"Cube.007",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"indices":4,
"material":0
}
]
@@ -100,59 +69,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":[
11,
4,
8
],
"min":[
-11,
0,
-8
],
"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":72,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":369,
"max":[
12.000000953674316,
@@ -167,25 +114,25 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":369,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":369,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5126,
"count":369,
"type":"VEC4"
},
{
"bufferView":9,
"bufferView":4,
"componentType":5123,
"count":966,
"type":"SCALAR"
@@ -194,62 +141,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":336,
"byteLength":4428,
"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":144,
"byteOffset":1344,
"target":34963
},
{
"buffer":0,
"byteLength":4428,
"byteOffset":1488,
"target":34962
},
{
"buffer":0,
"byteLength":4428,
"byteOffset":5916,
"byteOffset":4428,
"target":34962
},
{
"buffer":0,
"byteLength":2952,
"byteOffset":10344,
"byteOffset":8856,
"target":34962
},
{
"buffer":0,
"byteLength":5904,
"byteOffset":13296,
"byteOffset":11808,
"target":34962
},
{
"buffer":0,
"byteLength":1932,
"byteOffset":19200,
"byteOffset":17712,
"target":34963
}
],
@@ -261,7 +178,7 @@
],
"buffers":[
{
"byteLength":21132,
"byteLength":19644,
"uri":"residental-house7.bin"
}
]