]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sky/stars.cxx
Cloud texcoord fixes to tie apparent cloud position to earth even though
[simgear.git] / simgear / sky / stars.cxx
index bc709ccf3ce1d9b14a7b8fe13031ed8f80d00be6..42a347327a82950cbd40c9f292bbc232f70ce534 100644 (file)
@@ -88,6 +88,8 @@ ssgBranch * SGStars::build( int num, sgdVec3 *star_data, double star_dist ) {
     state->disable( GL_TEXTURE_2D );
     state->enable( GL_COLOR_MATERIAL );
     state->setColourMaterial( GL_AMBIENT_AND_DIFFUSE );
+    state->setMaterial( GL_EMISSION, 0, 0, 0, 1 );
+    state->setMaterial( GL_SPECULAR, 0, 0, 0, 1 );
     state->enable( GL_BLEND );
     state->disable( GL_ALPHA_TEST );