From 45564beba873691d698b07fba07900c459050ead Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 4 Dec 2000 22:35:10 +0000 Subject: [PATCH] Fix fog / light punchthrough. --- src/Main/main.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 03d88904a..1ff40196a 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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(); -- 2.39.5