12 lines
170 B
GLSL
12 lines
170 B
GLSL
#version 430 core
|
|
in vec2 gTexPos;
|
|
out vec4 fColor;
|
|
|
|
uniform sampler2D aTexture;
|
|
|
|
void main()
|
|
{
|
|
// fColor = vec4 (1,1,0,1);
|
|
fColor = texture(aTexture, gTexPos);
|
|
}
|