diff options
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r-- | src/render/draw.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 04c839b..f60ba1a 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -258,6 +258,9 @@ void draw_globe(const core::EntityGlobe* globe) math::Vector3f location(globe->location()); float radius = globe->radius(); + GLfloat globe_specular[] = { 0.25f, 0.25f, 0.25f, 1.0f }; + glMaterialfv(GL_FRONT, GL_SPECULAR, globe_specular); + if (globe->flag_is_set(core::Entity::Bright)) { // bright globe, render fullbright gl::disable(GL_LIGHTING); |