mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:18:12 +02:00
Change fog start to use default value.
This commit is contained in:
parent
4e04cecd8c
commit
e212f9f42e
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ void VoxelSystem::initVoxelMemory() {
|
||||||
glFogfv(GL_FOG_COLOR, fogColor);
|
glFogfv(GL_FOG_COLOR, fogColor);
|
||||||
glFogf(GL_FOG_DENSITY, 0.25f);
|
glFogf(GL_FOG_DENSITY, 0.25f);
|
||||||
glHint(GL_FOG_HINT, GL_DONT_CARE);
|
glHint(GL_FOG_HINT, GL_DONT_CARE);
|
||||||
glFogf(GL_FOG_START, 20.0f);
|
glFogf(GL_FOG_START, 0.0f);
|
||||||
glFogf(GL_FOG_END, _farHazeDistance);
|
glFogf(GL_FOG_END, _farHazeDistance);
|
||||||
glEnable(GL_FOG);
|
glEnable(GL_FOG);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue