aboutsummaryrefslogtreecommitdiff
path: root/engine/src/niftygui/Common/MatDefs/Nifty/NiftyTex.frag
blob: b2b4b95d6a4d7c6e635e148d016baa114c10c7ea (plain)
1
2
3
4
5
6
7
8
9
10
uniform sampler2D m_Texture;
uniform vec4 m_Color; 

varying vec2 texCoord;

void main() {
    vec4 texVal = texture2D(m_Texture, texCoord);
    gl_FragColor = texVal * m_Color ;
}