From: curt Date: Wed, 14 Jan 2004 18:02:58 +0000 (+0000) Subject: The emissive values just don't seem like the right thing to do. You suddenly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=84fd7a49addcff8bf91c0695d05f761db2f594b3;p=simgear.git The emissive values just don't seem like the right thing to do. You suddenly see the dark side of the moon quite clearly, which usually isn't the case. The rest of the moon still seems a bit oversaturated right now ... --- diff --git a/simgear/scene/sky/moon.cxx b/simgear/scene/sky/moon.cxx index 38ee5a64..7eed9c5c 100644 --- a/simgear/scene/sky/moon.cxx +++ b/simgear/scene/sky/moon.cxx @@ -141,7 +141,7 @@ ssgBranch * SGMoon::build( SGPath path, double moon_size ) { orb_state->enable( GL_COLOR_MATERIAL ); orb_state->setColourMaterial( GL_DIFFUSE ); orb_state->setMaterial( GL_AMBIENT, 0, 0, 0, 1.0 ); - orb_state->setMaterial( GL_EMISSION, 0.1, 0.1, 0.1, 1 ); + orb_state->setMaterial( GL_EMISSION, 0.0, 0.0, 0.0, 1 ); orb_state->setMaterial( GL_SPECULAR, 0, 0, 0, 1 ); orb_state->enable( GL_BLEND ); orb_state->enable( GL_ALPHA_TEST );