78 lines
1.8 KiB
JSON
78 lines
1.8 KiB
JSON
{
|
|
"material_test": {
|
|
"ambient": [0.1, 0.1, 0.1],
|
|
"shininess": 32.0,
|
|
"diffuseMap": 0,
|
|
"specularMap": 0
|
|
},
|
|
"lighting_test": {
|
|
"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
|
|
}
|
|
},
|
|
|
|
"camera_test": {
|
|
"position": [0.0, 0.0, 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": 20.0
|
|
},
|
|
"model_test": {
|
|
"directory": "assets",
|
|
"model_path": "create.obj"
|
|
},
|
|
"thing_test":
|
|
{"model": "grass", "position": [2.5, 0.0, 0.0],
|
|
"rotation": {"angle": 90.0, "axes": [0.0,1.0,0.0,0.0]},
|
|
"scale": 1.0,
|
|
"material": "default"
|
|
},
|
|
"shader_test": {
|
|
"vertex_path": "shaders/19-vert.glsl",
|
|
"frag_path": "shaders/19-frag.glsl"
|
|
}
|
|
}
|