aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-06-21 18:13:23 -0400
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-06-21 18:14:07 -0400
commit1132ddbfbb93bd91b4d3b3ee368f5026112c4713 (patch)
tree9233a175276fbf7318c8e2cf6c85abb49d8ec5e0 /tools/shared.py
parent0a014b6a0a925abc026195430ab18fb340e5ae4e (diff)
Compute the fog in the fragment shader
This makes the fog a bit more precise, and matches how native OpenGL calculates the fog value. But it also means that it would be a bit more expensive to calculate because it is calculated once per pixel.
Diffstat (limited to 'tools/shared.py')
0 files changed, 0 insertions, 0 deletions