Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/layer.cc')
-rw-r--r--src/model/layer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/model/layer.cc b/src/model/layer.cc
index 4ef7fbf..014795c 100644
--- a/src/model/layer.cc
+++ b/src/model/layer.cc
@@ -14,6 +14,7 @@ Layer::Layer() :
layer_rgbgen(RGBGenIdentity),
layer_color(1.0f),
layer_color_specular(1.0f),
+ layer_shininess(32),
layer_texmap(TexMapNone),
layer_texture_name(),
layer_texture_id(0),
@@ -47,6 +48,11 @@ void Layer::set_specular(const math::Color & specular)
layer_color_specular.assign(specular);
}
+void Layer::set_shininess(const math::Color & shininess)
+{
+ layer_shininess.assign(shininess);
+}
+
void Layer::set_texmap(const TexMap texmap)
{
layer_texmap = texmap;