diff options
author | Evan Goers <mega@osirion.org> | 2012-01-24 06:44:19 +0000 |
---|---|---|
committer | Evan Goers <mega@osirion.org> | 2012-01-24 06:44:19 +0000 |
commit | 5d4e993e485ae3432eabb45caf4e4d43c9bc54e6 (patch) | |
tree | 2369f024c56e9211d95d10bc86d3220f21443137 /src/render/gl.h | |
parent | d20adb868fe02e9e7aa8a262b3cd4c5dd01d5eea (diff) |
Added a 'specular' material parameter. Defaults to 'color' values.
Tweaked lighting a bit.
Diffstat (limited to 'src/render/gl.h')
-rw-r--r-- | src/render/gl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/gl.h b/src/render/gl.h index 31609ad..4dea544 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -235,6 +235,9 @@ void color(math::Color const & color); */ void color(const float r, const float g, const float b, const float a = 1.0f); +/// specify the specular reflectivity color +void specular(math::Color const & specular); + /// Push the current transformation matrix to the stack void push(); |