A 3d fps game made in OpenGL
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.
|
//include version.glsl
|
|
|
|
in vec2 uv;
|
|
in vec4 color;
|
|
|
|
uniform sampler2D sampler;
|
|
|
|
out vec4 frag_color;
|
|
|
|
void main()
|
|
{
|
|
frag_color = color * texture(sampler, uv);
|
|
//frag_color = vec4(0, 1, 0, 1);
|
|
}
|
|
|