wedge/shaders/segment.frag

12 lines
165 B
GLSL
Raw Normal View History

2019-07-27 19:43:29 +00:00
#version 330
in vec2 v_tex_coords;
out vec4 outcolor;
uniform sampler2D tex;
uniform vec4 tint;
void main() {
outcolor = tint * texture(tex, v_tex_coords);
}