diff --git a/src/Main/main.cxx b/src/Main/main.cxx index caad35736..34d857a87 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -416,7 +416,7 @@ void fgRenderFrame( void ) { fog_exp_density = m_log01 / actual_visibility; fog_exp2_density = sqrt_m_log01 / actual_visibility; - fog_exp2_punch_through = sqrt_m_log01 / ( actual_visibility * 4.0 ); + fog_exp2_punch_through = sqrt_m_log01 / ( actual_visibility * 2.5 ); } // double angle; diff --git a/tests/test-env-map.cxx b/tests/test-env-map.cxx index ada7b37be..55498086e 100644 --- a/tests/test-env-map.cxx +++ b/tests/test-env-map.cxx @@ -151,7 +151,6 @@ void display() glEnable(GL_TEXTURE_GEN_S); glEnable(GL_TEXTURE_GEN_T); - /* glBegin(GL_QUADS); glNormal3f(0.0, 0.0, 1.0); glVertex3f(1.0, 1.0, 0.0); @@ -159,13 +158,14 @@ void display() glVertex3f(-1.0, -1.0, 0.0); glVertex3f(1.0, -1.0, 0.0); glEnd(); - */ + /* glPointSize(48.0); glBegin(GL_POINTS); glNormal3f(0.0, 0.0, 1.0); glVertex3f(0.0, 0.0, 0.0); glEnd(); + */ glDisable(GL_TEXTURE_GEN_S); glDisable(GL_TEXTURE_GEN_T);