11 lines
183 B
GLSL
11 lines
183 B
GLSL
#version 130
|
|
|
|
varying vec2 texCoord;
|
|
varying vec4 vertexColor;
|
|
|
|
uniform sampler2D textureSampler;
|
|
|
|
void main() {
|
|
gl_FragColor = texture(textureSampler, texCoord) * vertexColor;
|
|
}
|