14 lines
248 B
GLSL
14 lines
248 B
GLSL
#version 330 core
|
|
|
|
in vec2 TexCoord;
|
|
|
|
uniform sampler2D u_Text;
|
|
|
|
out vec4 FragColor;
|
|
|
|
void main() {
|
|
vec4 color = texture(u_Text, TexCoord);
|
|
FragColor = color;
|
|
// FragColor = color + vec4(0.5, 0.5, 0.5, 1);
|
|
// FragColor = vec4(1, 1, 1, 1);
|
|
} |