#version 420
in vec4 Fragment_Color;
in vec2 Fragment_Uv;
out vec4 out_color;
uniform sampler2D Texture;
void main()
{
out_color = Fragment_Color * texture(Texture, Fragment_Uv);
}
![]() |
index : tomcat-archive | |
| Archive of my first OpenGL game attempt | Thomas Guillermo Albers Raviola |
| aboutsummaryrefslogtreecommitdiff |
#version 420
in vec4 Fragment_Color;
in vec2 Fragment_Uv;
out vec4 out_color;
uniform sampler2D Texture;
void main()
{
out_color = Fragment_Color * texture(Texture, Fragment_Uv);
}