Skip to content
Permalink
5d348e1b9a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (13 sloc) 197 Bytes
#version 330 core
layout (location = 0) out vec4 color;
in DATA
{
vec2 tc;
vec3 position;
} fs_in;
uniform vec2 player;
uniform sampler2D tex;
void main()
{
color = texture(tex, fs_in.tc);
}