14 lines
216 B
GLSL
14 lines
216 B
GLSL
#version 330 core
|
|
|
|
layout(location = 0) out vec4 color;
|
|
|
|
in vec2 v_texCoord;
|
|
|
|
uniform vec4 u_color;
|
|
uniform sampler2D u_texture;
|
|
|
|
void main()
|
|
{
|
|
vec4 texColor = texture(u_texture, v_texCoord);
|
|
color = texColor;
|
|
}
|