13 lines
158 B
GLSL
13 lines
158 B
GLSL
#version 330
|
|
|
|
in vec4 vertex_color;
|
|
in vec2 texture_coord;
|
|
|
|
out vec4 color;
|
|
|
|
uniform sampler2D tex;
|
|
|
|
void main() {
|
|
color = texture(tex, texture_coord);
|
|
}
|