From 56fef38054490b5dd2ece93061c8643a9a42ad40 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 14 Mar 2002 00:52:38 +0000 Subject: [PATCH] Change fog punch through value a bit. Either way it's a WAG for now, but at least it's less obviously wrong. --- src/Main/main.cxx | 2 +- tests/test-env-map.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);