{ "scene": { "shader": { "vertex_path": "shaders/33-framebuffers.vert.glsl", "frag_path": "shaders/33-framebuffers.frag.glsl", "geometry_path": "" }, "reflect_shader": { "vertex_path": "shaders/24-vert.glsl", "frag_path": "shaders/24-frag.glsl", "geometry_path": "" }, "screen_shader": { "vertex_path": "shaders/30-screen.vert.glsl", "frag_path": "shaders/30-screen.frag.glsl", "geometry_path": "" }, "skybox_shader": { "vertex_path": "shaders/24-skybox.vert.glsl", "frag_path": "shaders/24-skybox.frag.glsl", "geometry_path": "" }, "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": 100000.0, "diffuseMap": 0, "specularMap": 0 }, "shiny": { "ambient": [0.5, 0.5, 0.5], "shininess": 32.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" }, "human": { "directory": "../assets", "model_path": "human.glb" }, "light_bulb": { "directory": "assets", "model_path": "light_bulb.glb" } }, "things": [ {"model": "metal_floor", "position": [0.0, 0.0, 0.0], "rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]}, "scale": 1.0, "material": "shiny"}, {"model": "marble_cube", "position": [1.5, 0.0, -1.0], "rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]}, "scale": 1.0, "material": "shiny"}, {"model": "human", "position": [1.28, 0.0, 1.33], "rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]}, "scale": 1.0, "material": "default"}, {"model": "human", "position": [-0.032, 0.0, 0.11], "rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]}, "scale": 1.0, "material": "shiny"}, {"model": "window", "position": [1.5, 0.25, 0.0], "rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]}, "scale": 1.0, "material": "shiny"}, {"model": "window", "position": [1.75, 0.25, 0.25], "rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]}, "scale": 1.0, "material": "shiny"}, {"model": "light_bulb", "position": [3.84, 3.45, 4.73], "rotation": {"angle": 0.0, "axes": [1.0,1.0,1.0]}, "scale": 0.03, "material": "default"} ], "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": [ ], "positioned": [ { "position": [3.84, 3.45, 4.73], "direction":[-0.5, -1.0, -0.3], "ambient":[0.3, 0.3, 0.3], "diffuse":[0.9, 0.9, 0.9], "specular":[1.0, 1.0, 1.0], "constant": 1.0, "linear": 0.05, "quadratic": 0.022, "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 } } } }