aboutsummaryrefslogtreecommitdiff
path: root/data/shaders/light-basic-tex.frag
blob: f87ced19882f997286c17548cfaecb501f756e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
uniform sampler2D MaterialTexture0;

varying vec4 Color;
varying vec2 TextureCoord;

void main(void)
{
    vec4 texel = texture2D(MaterialTexture0, TextureCoord);
    gl_FragColor = texel * Color;
}