c29c91da21
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
12 lines
180 B
GLSL
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;
|
|
}
|