14 lines
217 B
GLSL
14 lines
217 B
GLSL
#version 300 es
|
|
precision mediump float;
|
|
|
|
in vec2 TexCoord;
|
|
|
|
out vec4 FragColor;
|
|
|
|
uniform sampler2D theTexture;
|
|
|
|
void main() {
|
|
//FragColor = vec4(1.f, 0.5f, 0.2f, 1.0f);
|
|
FragColor = texture(theTexture, TexCoord);
|
|
}
|