1
0
Fork 0

Fix fog / light punchthrough.

This commit is contained in:
curt 2000-12-04 22:35:10 +00:00
parent 2f9850024a
commit 45564beba8

View file

@ -657,7 +657,7 @@ void fgRenderFrame( void ) {
// draw lighting
// Set punch through fog density
glFogf (GL_FOG_DENSITY, fog_exp2_density);
glFogf (GL_FOG_DENSITY, fog_exp2_punch_through);
ssgCullAndDraw( lighting );
@ -673,7 +673,6 @@ void fgRenderFrame( void ) {
fgCockpitUpdate();
// We can do translucent menus, so why not. :-)
// glEnable ( GL_BLEND ) ;
menus->apply();
glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
puDisplay();