{ "asset": { "version": "1.0" }, "scene": 0, "scenes": [ { "nodes": [ 0 ] } ], "nodes": [ { "name": "Scene", "matrix": [ 1, 0, 0, 0, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 1 ], "children": [ 1, 2 ] }, { "name": "Cube", "matrix": [ 2.5, 0, 0, 0, 0, 2.5, 0, 0, 0, 0, 2.5, 0, 0, 0, 0, 1 ], "model": { "mesh": 0, "material": 0, "shader": 0 } }, { "name": "bottle", "matrix": [ 0.125, 0, 0, 0, 0, -0, 0.125, 0, 0, -0.125, -0, 0, -0, 0, -1.5, 1 ], "children": [ 3, 4, 5, 6 ] }, { "name": "bottle-cap", "model": { "mesh": 3, "material": 2, "shader": 1 } }, { "name": "bottle-alpha-front", "model": { "mesh": 1, "material": 1, "shader": 2 } }, { "name": "bottle-alpha-back", "model": { "mesh": 1, "material": 1, "shader": 3 } }, { "name": "bottle-label", "model": { "mesh": 2, "material": 0, "shader": 4 } } ], "meshes": [ { "uri": "cube.bin", "attributes": 31, "primitive": "TRIANGLES", "indices": { "byteOffset": 0, "byteLength": 72 }, "positions": { "byteOffset": 72, "byteLength": 288 }, "normals": { "byteOffset": 360, "byteLength": 288 }, "textures": { "byteOffset": 648, "byteLength": 192 }, "tangents": { "byteOffset": 840, "byteLength": 288 } }, { "uri": "beer.bin", "attributes": 31, "primitive": "TRIANGLES", "indices": { "byteOffset": 0, "byteLength": 19920 }, "positions": { "byteOffset": 19920, "byteLength": 54792 }, "normals": { "byteOffset": 74712, "byteLength": 54792 }, "textures": { "byteOffset": 129504, "byteLength": 36528 }, "tangents": { "byteOffset": 166032, "byteLength": 54792 } }, { "uri": "beer.bin", "attributes": 31, "primitive": "TRIANGLES", "indices": { "byteOffset": 220824, "byteLength": 13200 }, "positions": { "byteOffset": 234024, "byteLength": 14628 }, "normals": { "byteOffset": 248652, "byteLength": 14628 }, "textures": { "byteOffset": 263280, "byteLength": 9752 }, "tangents": { "byteOffset": 273032, "byteLength": 14628 } }, { "uri": "beer.bin", "attributes": 31, "primitive": "TRIANGLES", "indices": { "byteOffset": 287660, "byteLength": 31440 }, "positions": { "byteOffset": 319100, "byteLength": 121032 }, "normals": { "byteOffset": 440132, "byteLength": 121032 }, "textures": { "byteOffset": 561164, "byteLength": 80688 }, "tangents": { "byteOffset": 641852, "byteLength": 121032 } } ], "skeletons": [ ], "cameras": [ { "fov": 60, "near": 0.1, "far": 100, "matrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 3.5, 1 ] } ], "lights": [ ], "materials": [ { "color": [ 1.0, 0.95, 0.5 ], "metallic": 0.25, "roughness": 1.0, "environment": 1 }, { "color": [ 0.1, 0.4, 0.0, 0.6 ], "metallic": 0.4, "roughness": 0.0, "environment": 1 }, { "color": [ 0.5, 0.5, 0.5 ], "metallic": 1.0, "roughness": 0.0, "environment": 1 } ], "environment": [ { }, { "cubeSpecular": "Studio/Radiance.ktx", "cubeDiffuse": "Studio/Irradiance.ktx", "iblIntensity": 0.75 } ], "shaders": [ { "vertex": "dli_pbr.vsh", "fragment": "dli_pbr.fsh", "rendererState": "DEPTH_TEST|CULL_FRONT", "uCubeMatrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ], "uMaxLOD": 6 }, { "vertex": "dli_pbr.vsh", "fragment": "dli_pbr.fsh", "rendererState": "DEPTH_TEST|DEPTH_WRITE", "uCubeMatrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ], "uMaxLOD": 6 }, { "vertex": "dli_pbr.vsh", "fragment": "dli_pbr.fsh", "defines": [ "THREE_TEX" ], "rendererState": "ALPHA_BLEND|DEPTH_TEST|CULL_FRONT", "uCubeMatrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ], "uMaxLOD": 6 }, { "vertex": "dli_pbr.vsh", "fragment": "dli_pbr.fsh", "defines": [ "THREE_TEX" ], "rendererState": "ALPHA_BLEND|DEPTH_TEST|CULL_BACK", "uCubeMatrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ], "uMaxLOD": 6 }, { "vertex": "dli_pbr.vsh", "fragment": "dli_pbr.fsh", "defines": [ "FLIP_V" ], "rendererState": "DEPTH_TEST|DEPTH_WRITE|CULL_BACK", "uCubeMatrix": [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ], "uMaxLOD": 6 } ] }