diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-02-14 00:24:32 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-02-14 00:46:17 -0800 |
commit | 8fc69c2b21dc101c04495c4689587e99a70cf875 (patch) | |
tree | eb05dae0e2a145d6cbb97ad5c66f0d9e441184b5 /src/modules/ray/ray_surface.h | |
parent | 2e300062591398269e27fe2b359ed28030bc788e (diff) |
ray: add highlight exponent to ray_surface_t
Was a constant at 20, this allows it to be specified per-object.
Diffstat (limited to 'src/modules/ray/ray_surface.h')
-rw-r--r-- | src/modules/ray/ray_surface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/ray/ray_surface.h b/src/modules/ray/ray_surface.h index b3e3c68..2e7544b 100644 --- a/src/modules/ray/ray_surface.h +++ b/src/modules/ray/ray_surface.h @@ -8,6 +8,7 @@ typedef struct ray_surface_t { ray_color_t color; float specular; + float highlight_exponent; float diffuse; } ray_surface_t; |