13 lines
233 B
GLSL
13 lines
233 B
GLSL
#version 140
|
|
|
|
uniform sampler2D sTexture;
|
|
|
|
varying vec4 vColor;
|
|
varying vec2 vCoords;
|
|
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = texture2D (sTexture, vCoords) * vColor; // Modulate light color with texture.
|
|
}
|