13 lines
199 B
GLSL
13 lines
199 B
GLSL
#version 410
|
|
|
|
layout(location = 0)in vec2 UV;
|
|
|
|
layout(location = 0)out vec4 color;
|
|
|
|
uniform sampler2D Tex;
|
|
|
|
void main() {
|
|
//color = vec4(0,0,0,1);
|
|
color = vec4(vec3(texture(Tex,UV).x),1);
|
|
|
|
}
|