A WIP 3D game engine in C++ using OpenGL
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.
 
 
 
 
 
 

83 lines
1.9 KiB

{
"name": "init",
"staticmodels": {
"room2": {
"object": "room2.obj"
},
"blob": {
"object": "blob.obj"
},
"backpack": {
"object": "backpack.obj",
"fliptextures": true,
"textures": ["ao.jpg", "diffuse.jpg", "roughness.jpg", "normal.jpg", "specular.jpg"]
},
"unnamed_6": {
"object": "unnamed_6.obj"
},
"orb": {
"object": "orb.obj"
}
},
"shaders": [
["instanced.vert", "fogtest.frag"]
],
"skyboxes": [
"space"
],
"lights": [
{
"type": "point",
"position": [0,0.2,-3],
"direction": [0,0,0],
"ambient": [0.0,0.0,0.0],
"diffuse": [0.7,0.1,0.2],
"specular": [1,0,0],
"attenuate": true,
"attenuation": [0.1,0.4,0.031]
},
{
"type": "point",
"position": [0,2,0],
"direction": [0,0,0],
"ambient": [0.01,0.01,0.01],
"diffuse": [0.1,0.3,0.2],
"specular": [1,1,1],
"attenuate": true,
"attenuation": [0.2,0.4,0.1]
}
],
"physics": [
{
"position": [0,0,10],
"orientation": [0,0,0],
"collision": [
{
"AABB": [1,1]
}
]
},
{
"position": [1,0,0],
"orientation": [0,0,0],
"collision": [
{
"Sphere": [1,1]
}
]
}
],
"entities": [
{
"id": "room2",
"draw": {"model": "room2"},
"physics": {
"position": [0,-0.4,0],
"orientation": [0,0,0]
}
}
],
"particleemitters": [
]
}