14 lines
199 B
Text
14 lines
199 B
Text
|
#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);
|
||
|
|
||
|
}
|