Fix visible line in front of kart in SSAO

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2013-12-09 00:39:07 +00:00
parent 39046749d2
commit 31c29c7a92

View File

@@ -74,5 +74,5 @@ void main(void)
ao = mix(ao, oldao, 0.3);
gl_FragColor = vec4(vec3(ao), curdepth);
gl_FragColor = vec4(vec3(ao), curdepth + 0.05); // offset so that the alpha test doesn't kill us
}