From 5d4e993e485ae3432eabb45caf4e4d43c9bc54e6 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Tue, 24 Jan 2012 06:44:19 +0000 Subject: Added a 'specular' material parameter. Defaults to 'color' values. Tweaked lighting a bit. --- src/render/gl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/gl.h') 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(); -- cgit v1.2.3