From b7680d7177c7ebd038bcea4d41ef428ae14d944b Mon Sep 17 00:00:00 2001 From: auria Date: Thu, 16 May 2013 00:49:51 +0000 Subject: [PATCH] Fix small fog bug git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12769 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- data/shaders/grass.frag | 1 + 1 file changed, 1 insertion(+) diff --git a/data/shaders/grass.frag b/data/shaders/grass.frag index a1f2383dc..42390956e 100644 --- a/data/shaders/grass.frag +++ b/data/shaders/grass.frag @@ -15,6 +15,7 @@ void main() if (coord.z > fogTo) { gl_FragColor = fogColor; + gl_FragColor.a = color.a; } else if (coord.z > fogFrom) {