11 lines
145 B
GLSL
11 lines
145 B
GLSL
#version 450
|
|
|
|
uniform sampler2D tex;
|
|
|
|
in vec2 tex_coord;
|
|
out vec4 frag_color;
|
|
|
|
void main() {
|
|
frag_color = textureLod(tex, tex_coord, 0).rrrr;
|
|
}
|