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.
 
 
 

13 lines
273 B

layout(location = 0) in vec3 in_tex_coord;
layout(location = 1) in vec4 in_color;
layout(location = 0) out vec4 out_color;
layout(binding = 2) uniform sampler2D u_sampler;
void main() {
out_color = texture(u_sampler, in_tex_coord.xy);
out_color *= in_color;
}
// EOF