diff options
Diffstat (limited to 'system/shaders/guishader_frag3.glsl')
-rw-r--r-- | system/shaders/guishader_frag3.glsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/shaders/guishader_frag3.glsl b/system/shaders/guishader_frag3.glsl new file mode 100644 index 0000000000..cb44cda585 --- /dev/null +++ b/system/shaders/guishader_frag3.glsl @@ -0,0 +1,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; +} |