Tweaks to fix problems with moon rendering introduced with ssg.

This commit is contained in:
curt
1999-08-15 13:35:07 +00:00
parent 770ec00901
commit 63c9dcdd96

View File

@@ -371,10 +371,9 @@ void Moon::newImage()
// set lighting parameters
xglLightfv(GL_LIGHT0, GL_AMBIENT, white );
xglLightfv(GL_LIGHT0, GL_DIFFUSE, white );
// xglEnable( GL_CULL_FACE );
// Enable( GL_CULL_FACE );
xglMaterialfv(GL_FRONT, GL_AMBIENT, black);
xglMaterialfv(GL_FRONT, GL_DIFFUSE, moonColor);
//glEnable(GL_TEXTURE_2D);
glBlendFunc(GL_ONE, GL_ONE);