Increase the max distance of the displacement effect

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
samuncle
2013-12-26 01:01:12 +00:00
parent 9be8adaa15
commit 122567f0d3

View File

@@ -20,7 +20,7 @@ void main()
offset -= 1.0;
// Fade according to distance to cam
float fade = 1.0 - smoothstep(1.0, 40.0, camdist);
float fade = 1.0 - smoothstep(1.0, 100.0, camdist);
// Fade according to distance from the edges
vec2 edger = gl_TexCoord[1].xy;