diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-02-28 20:24:30 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-02-28 20:24:30 -0800 |
commit | 3b9a4861d6937a66b03791b5b497e47c52189a7d (patch) | |
tree | 213f698873293d87e38ce47f90937469db077bc0 /src/modules/ray/ray.c | |
parent | 0aa9efd5c69a956d88adc25abd154289ecfbede7 (diff) |
ray: implement distance-based light brightness
Diffstat (limited to 'src/modules/ray/ray.c')
-rw-r--r-- | src/modules/ray/ray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c index bb9c042..1e58f3b 100644 --- a/src/modules/ray/ray.c +++ b/src/modules/ray/ray.c @@ -83,7 +83,7 @@ static ray_object_t lights[] = { { .light = { .type = RAY_OBJECT_TYPE_LIGHT, - .brightness = 1.0, + .brightness = 15.0f, .emitter = { .point.type = RAY_LIGHT_EMITTER_TYPE_POINT, .point.center = { .x = 3.0f, .y = 3.0f, .z = 3.0f }, |