TODO: hint

master
Martin Gerhardy 2018-01-30 20:29:18 +01:00
parent f4ae34f960
commit ada49d181d
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
# mesh.frag
there is an error in the fog computation - right now everything is in u_fogcolor because fogval == 1
this is due to the fact that fogdistance is a very very high value because gl_FragCoord.w is 0
this is due to the fact that fogdistance is a very very high value because gl_FragCoord.w is 0. And this
is related to the bonetrans matrix. Not taking it into account fixes gl_FragCoord.
# Data handling