]> git.mxchange.org Git - flightgear.git/commitdiff
Change fog punch through value a bit. Either way it's a WAG for now, but
authorcurt <curt>
Thu, 14 Mar 2002 00:52:38 +0000 (00:52 +0000)
committercurt <curt>
Thu, 14 Mar 2002 00:52:38 +0000 (00:52 +0000)
at least it's less obviously wrong.

src/Main/main.cxx
tests/test-env-map.cxx

index caad35736833102bece2b7a65bf02e0ea4f353d6..34d857a877a71b261402fdd883c354fbcd2d8277 100644 (file)
@@ -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;
index ada7b37bea6a5b3bbb5ac002a234b03a862dd137..55498086e1f95badb2485bfde08274b589c356b2 100644 (file)
@@ -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);