15 lines
205 B
GLSL
15 lines
205 B
GLSL
#version 330 core
|
|
|
|
in vec3 v_position;
|
|
in vec3 v_normal;
|
|
in vec2 v_texcoord;
|
|
|
|
out vec4 v_output;
|
|
|
|
uniform sampler2D u_texture;
|
|
|
|
void main()
|
|
{
|
|
vec4 tex = texture(u_texture, v_texcoord);
|
|
v_output = tex;
|
|
}
|