summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-02-14 00:48:11 -0800
committerVito Caputo <vcaputo@gnugeneration.com>2017-02-14 00:48:11 -0800
commit238d94008b50f960831b773760e94a316c7212c0 (patch)
treeab4ea293eae3b86316d420c9fabdb45b2fb1ebdc /src
parent8fc69c2b21dc101c04495c4689587e99a70cf875 (diff)
ray: increase highlight exponent on shiny sphere
The highlight on the little green sphere was white-washing the entire thing due to its high specular reflection value. This produces more reasonable results...
Diffstat (limited to 'src')
-rw-r--r--src/modules/ray/ray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c
index ad8a06b..12d4bc8 100644
--- a/src/modules/ray/ray.c
+++ b/src/modules/ray/ray.c
@@ -72,7 +72,7 @@ static void ray(fb_fragment_t *fragment)
.color = { .x = 0.0, .y = 1.0, .z = 0.0 },
.diffuse = 0.95f,
.specular = 0.85f,
- .highlight_exponent = 20.0f
+ .highlight_exponent = 1500.0f
},
.center = { .x = 0.2, .y = -1.25, .z = 0.0 },
.radius = 0.6f,
© All Rights Reserved