Update libktx to 4.4.0
- Use UASTC textures instead of ASTC, transcode to ASTC or BC7 at load time - Add cmake helpers to generate assets, optimize controller models - Textures are resized to 512x512 and compressed in UASTC - Always use libktx
This commit is contained in:
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 6,
|
||||
"type": "SCALAR",
|
||||
"max": [
|
||||
5
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 6,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
10,
|
||||
0,
|
||||
10
|
||||
],
|
||||
"min": [
|
||||
-10,
|
||||
0,
|
||||
-10
|
||||
],
|
||||
"name": "POSITION"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 12,
|
||||
"componentType": 5126,
|
||||
"count": 6,
|
||||
"type": "VEC2",
|
||||
"max": [
|
||||
5,
|
||||
1
|
||||
],
|
||||
"min": [
|
||||
0,
|
||||
-4
|
||||
],
|
||||
"name": "TEXCOORD_0"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 20,
|
||||
"componentType": 5126,
|
||||
"count": 6,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0,
|
||||
1.0000044107437134,
|
||||
0
|
||||
],
|
||||
"min": [
|
||||
0,
|
||||
1.0000044107437134,
|
||||
0
|
||||
],
|
||||
"name": "NORMAL"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "Aspose.3D 24.1.0",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "data:application/octet-stream;base64,AAABAAIAAwAEAAUAAAAAAAAAIMEAAAAAAAAgwQAAAAAAAIA/AAAAACUAgD8AAAAAAAAgwQAAAAAAACBBAACgQAAAgD8AAAAAJQCAPwAAAAAAACBBAAAAAAAAIMEAAAAAAACAwAAAAAAlAIA/AAAAAAAAIEEAAAAAAAAgQQAAoEAAAIDAAAAAACUAgD8AAAAAAAAgQQAAAAAAACDBAAAAAAAAgMAAAAAAJQCAPwAAAAAAACDBAAAAAAAAIEEAAKBAAACAPwAAAAAlAIA/AAAAAAAAAAA=",
|
||||
"byteLength": 212
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "WoodFloor051_1K-JPG_Color.jpg"
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 12,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 16,
|
||||
"byteLength": 192,
|
||||
"byteStride": 32,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 1,
|
||||
"TEXCOORD_0": 2,
|
||||
"NORMAL": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": ""
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"wrapS": 10497,
|
||||
"wrapT": 10497,
|
||||
"minFilter": 9987
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"name": "ground",
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0,
|
||||
"name": "ground"
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [-20,0,0]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [20,0,0]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [0,0,-20]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [-20,0,-20]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [20,0,-20]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [0,0,20]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [-20,0,20]
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"translation": [20,0,20]
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0,1,2,3,4,5,6,7,8
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user