13 lines
214 B
GLSL
13 lines
214 B
GLSL
#version 330 core
|
|
#extension GL_ARB_explicit_uniform_location : enable
|
|
|
|
layout(location = 1) uniform sampler2D texBase;
|
|
|
|
in vec2 fragTC;
|
|
|
|
out vec4 color;
|
|
|
|
void main(void) {
|
|
color = texture(texBase, fragTC);
|
|
}
|