Fix small fog bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
5f8979112a
commit
b7680d7177
@ -15,6 +15,7 @@ void main()
|
||||
if (coord.z > fogTo)
|
||||
{
|
||||
gl_FragColor = fogColor;
|
||||
gl_FragColor.a = color.a;
|
||||
}
|
||||
else if (coord.z > fogFrom)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user