Change fog punch through value a bit. Either way it's a WAG for now, but
at least it's less obviously wrong.
This commit is contained in:
parent
cabbc08c07
commit
56fef38054
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue