aboutsummaryrefslogtreecommitdiff
path: root/system/shaders/guishader_frag3.glsl
blob: cb44cda585df1f475e7762546df9be8cfeea070c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
precision mediump float;
uniform sampler2D m_samp0;
varying vec4      m_cord0;
varying vec4      m_colour;

void main ()
{
  gl_FragColor.r   = m_colour.r;
  gl_FragColor.g   = m_colour.g;
  gl_FragColor.b   = m_colour.b;
  gl_FragColor.a   = texture2D(m_samp0, m_cord0.xy).a;
}