You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ugui/opengl-ren/fragment.glsl

12 lines
191 B

#version 330
flat in vec4 out_color;
2 years ago
in vec2 texture_coord;
uniform sampler2D texture_sampler;
out vec4 color;
void main()
{
2 years ago
color = texture(texture_sampler, texture_coord) + out_color;
}