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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user