-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfig.json
44 lines (39 loc) · 1.07 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"input": "input-mesh.obj",
"output": "output.glb",
"format": "glbx",
"verbose": false,
"report": false,
"list": false,
"joinVertices": false,
"stripNormals": false,
"stripTexCoords": false,
"swizzle": "X+Y+Z+",
"scale": 1.0,
"translate": [ 0.0, 0.0, 0.0 ],
"alignX": 0,
"alignY": -1,
"alignZ": 1,
"flipUV": false,
"matrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ],
"gltfx": {
"metallicFactor": 0.1,
"roughnessFactor": 0.8,
"diffuseMap": "diffuse.jpg",
"occlusionMap": "occlusion.jpg",
"emissiveMap": "emissive.jpg",
"metallicRoughnessMap": "metallic-roughness.jpg",
"normalMap": "normals.jpg",
"zoneMap": "zones.jpg",
"objectSpaceNormals": true,
"embedMaps": false,
"useCompression": true
},
"compression": {
"positionQuantizationBits": 14,
"texCoordsQuantizationBits": 12,
"normalsQuantizationBits": 10,
"genericQuantizationBits": 8,
"compressionLevel": 8
}
}