Better disk surface sampling.

This commit is contained in:
2017-02-12 04:28:21 -04:00
parent 85ff1de130
commit 501e2afc14
6 changed files with 49 additions and 24 deletions

View File

@@ -13,8 +13,9 @@
}
},
"sphere_area_light": {
"disk_area_light": {
"position": [0.0, 1.0, -2.0],
"normal": [0.0, -1.0, -2.0],
"radius": 0.15,
"material": {
"emission": [1.0, 1.0, 1.0]

View File

@@ -1,6 +1,7 @@
{
"sphere_area_light": {
"disk_area_light": {
"position": [0.0, 0.75, -1.0],
"normal": [0.0, -1.0, 0.0],
"radius": 0.15,
"material": {
"emission": [1.0, 1.0, 1.0]