9 lines
188 B
GLSL
9 lines
188 B
GLSL
#version 110
|
|
|
|
uniform sampler2D tex;
|
|
varying vec2 vTexCoord;
|
|
|
|
void main(void) {
|
|
vec4 textureColor = texture2D(tex, vec2(vTexCoord.x, vTexCoord.y));
|
|
gl_FragColor = textureColor;
|
|
} |