Scene loads light sources now.

This commit is contained in:
Miguel Angel Astor Romero
2017-01-19 09:39:10 -04:00
parent 20a672388f
commit 33aba8cae2
5 changed files with 76 additions and 85 deletions

View File

@@ -1,9 +1,12 @@
{
"point_light":{
"position": [0.0, 0.9, -1.0]
},
"sphere": {
"position": [0.2, 0.0, -0.75],
"radius": 0.25,
"material": {
"emission": [10.0, 10.0, 10.0],
"diffuse": [1.0, 1.0, 1.0],
"rho": 0.2
}