You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.5 KiB
63 lines
1.5 KiB
{ |
|
"name": "init", |
|
"staticmodels": { |
|
"backpack": { |
|
"object": "backpack.obj", |
|
"textures": ["ao.jpg", "diffuse.jpg", "roughness.jpg", "normal.jpg", "specular.jpg"] |
|
}, |
|
"unnamed_6": { |
|
"object": "unnamed_6.obj" |
|
} |
|
}, |
|
"shaders": [ |
|
["instanced.vert", "test.frag"] |
|
], |
|
"skyboxes": [ |
|
"skybox" |
|
], |
|
"lights": [ |
|
{ |
|
"type": "point", |
|
"position": [0,5,0], |
|
"direction": [1,0,1], |
|
"ambient": [0.9,0.0,0.0], |
|
"diffuse": [0.9,0.3,0.5], |
|
"specular": [1,1,1], |
|
"attenuate": true, |
|
"attenuation": [0.9,0.09,0.032] |
|
}, |
|
{ |
|
"type": "point", |
|
"position": [0,-4,0], |
|
"direction": [1,0,1], |
|
"ambient": [0.0,0.0,0.0], |
|
"diffuse": [0.9,0.9,0.9], |
|
"specular": [1,1,1], |
|
"attenuate": true, |
|
"attenuation": [0.9,0.09,0.032] |
|
} |
|
], |
|
"entities": [ |
|
{ |
|
"draw": {"model": "unnamed_6"}, |
|
"physics": { |
|
"position": [1,4,1], |
|
"orientation": [0,2,0] |
|
} |
|
}, |
|
{ |
|
"draw": {"model": "backpack"}, |
|
"physics": { |
|
"position": [1,1,1], |
|
"orientation": [1,2,0] |
|
} |
|
}, |
|
{ |
|
"draw": {"model": "backpack"}, |
|
"physics": { |
|
"position": [9,2,2], |
|
"orientation": [1,0,0] |
|
} |
|
} |
|
] |
|
}
|
|
|