2011-12-26 11:46:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
uniform sampler2D main_texture;
|
2012-01-10 18:40:14 -05:00
|
|
|
uniform float transparency;
|
2011-12-26 11:46:29 -05:00
|
|
|
varying vec2 uv;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_FragColor = texture2D(main_texture, uv);
|
2012-01-10 18:40:14 -05:00
|
|
|
gl_FragColor.a *= transparency;
|
2011-12-26 11:46:29 -05:00
|
|
|
}
|