Skip to content

Commit

Permalink
Remove GL_FOG_DENSITY, which is unused when using the GL_LINEAR fog m…
Browse files Browse the repository at this point in the history
…ode.
  • Loading branch information
jesstess committed Apr 28, 2013
1 parent ae4c321 commit 8737ad9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,6 @@ def setup_fog():
glHint(GL_FOG_HINT, GL_DONT_CARE)
# Specify the equation used to compute the blending factor.
glFogi(GL_FOG_MODE, GL_LINEAR)
# Set the fog density.
glFogf(GL_FOG_DENSITY, 0.35)
# How close and far away fog starts and ends. The closer the start and end,
# the denser the fog in the fog range.
glFogf(GL_FOG_START, 20.0)
Expand Down

0 comments on commit 8737ad9

Please sign in to comment.