model-converter/assets/shaders/shader.frag

12 lines
134 B
GLSL
Raw Normal View History

2018-02-26 11:45:53 +01:00
#version 140
2018-02-23 17:35:39 +01:00
2018-02-26 14:59:32 +01:00
in vec2 v_tex_coords;
2018-02-26 11:45:53 +01:00
out vec4 color;
2018-02-23 17:35:39 +01:00
2018-02-26 14:59:32 +01:00
uniform sampler2D tex;
2018-02-23 17:35:39 +01:00
void main() {
2018-02-26 14:59:32 +01:00
color = texture(tex, v_tex_coords);
2018-02-23 17:35:39 +01:00
}