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 ...
This commit is contained in:
curt 2004-01-14 18:02:58 +00:00
parent 24b5f05522
commit 84fd7a49ad

View 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 );