stk-code_catmod/data/shaders/bubble.frag
auria c29c91da21 Make bubble force fields fade in softly insetad of just popping up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 23:40:14 +00:00

12 lines
180 B
GLSL

uniform sampler2D main_texture;
uniform float transparency;
varying vec2 uv;
void main()
{
gl_FragColor = texture2D(main_texture, uv);
gl_FragColor.a *= transparency;
}