]> git.mxchange.org Git - simgear.git/commitdiff
The emissive values just don't seem like the right thing to do. You suddenly
authorcurt <curt>
Wed, 14 Jan 2004 18:02:58 +0000 (18:02 +0000)
committercurt <curt>
Wed, 14 Jan 2004 18:02:58 +0000 (18:02 +0000)
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 ...

simgear/scene/sky/moon.cxx

index 38ee5a64cd2665d981fae520400443293fc037fb..7eed9c5c4e389499c37436274d675a6d88bda543 100644 (file)
@@ -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 );