{ "scene": { "shader": { "vertex_path": "shaders/21-framebuffers.vert.glsl", "frag_path": "shaders/21-framebuffers.frag.glsl" }, "reflect_shader": { "vertex_path": "shaders/24-vert.glsl", "frag_path": "shaders/24-frag.glsl" }, "screen_shader": { "vertex_path": "shaders/21-screen.vert.glsl", "frag_path": "shaders/21-screen.frag.glsl" }, "skybox_shader": { "vertex_path": "shaders/24-skybox.vert.glsl", "frag_path": "shaders/24-skybox.frag.glsl" }, "skybox_faces": [ "../assets/skybox/sky/right.jpg", "../assets/skybox/sky/left.jpg", "../assets/skybox/sky/top.jpg", "../assets/skybox/sky/bottom.jpg", "../assets/skybox/sky/front.jpg", "../assets/skybox/sky/back.jpg" ], "materials": { "default": { "ambient": [0.5, 0.5, 0.5], "shininess": 32.0, "diffuseMap": 0, "specularMap": 0 }, "shiny": { "ambient": [0.5, 0.5, 0.5], "shininess": 10000.0, "diffuseMap": 0, "specularMap": 0 } }, "models": { "marble_cube": { "directory": "assets", "model_path": "marble_cube.glb" }, "metal_floor": { "directory": "assets", "model_path": "metal_floor.glb" }, "grass": { "directory": "assets", "model_path": "grass.glb" }, "window": { "directory": "assets", "model_path": "window.glb" } }, "things": [ {"model": "marble_cube", "position": [1.5, 0.0, -1.0], "rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]}, "scale": 3.0, "material": "default"}, {"model": "marble_cube", "position": [1.5, 0.25, 0.0], "rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]}, "scale": 1.0, "material": "shiny"} ], "camera": { "position": [0.0, 0.1, 3.0], "front": [0.0, 0.0, -1.0], "up": [0.0, 1.0, 0.0], "direction": [0.0, 0.0, 0.0], "movement_speed": 10.0 }, "light": { "directional": [ { "position": [0, 0, 0.0], "direction":[-0.2, -1.0, -0.3], "ambient":[0.2, 0.2, 0.2], "diffuse":[0.8, 0.8, 0.8], "specular":[1.0, 1.0, 1.0], "constant": 0.0, "linear": 0.0, "quadratic": 0.0, "cut_off": 0.0, "outer_cut_off": 0.0, "on": true } ], "positioned": [ { "position": [1.2, 1.0, 2.0], "direction":[-0.2, -1.0, -0.3], "ambient":[0.2, 0.2, 0.2], "diffuse":[0.8, 0.8, 0.8], "specular":[1.0, 1.0, 1.0], "constant": 1.0, "linear": 0.09, "quadratic": 0.032, "cut_off": 12.5, "outer_cut_off": 17.5, "on": true } ], "spot": [ ], "camera": { "position":[2.2, 1.0, 2.0], "direction":[0.0, 0.0, -1.0], "ambient":[0.2, 0.2, 0.2], "diffuse":[0.8, 0.8, 0.8], "specular":[1.0, 1.0, 1.0], "constant": 1.0, "linear": 0.09, "quadratic": 0.032, "cut_off": 12.5, "outer_cut_off": 17.5, "on": true } } } }