charcoal/CharcoalBuiltin/ImageFS.glsl
elipzer 5db5ce971c Probably BREAKING - Moved everything into proper directories
Also added a copy pre-build even for .h files into the include
directory for charcoal and charcoal-builtin
2018-10-10 23:56:39 -04:00

12 lines
198 B
GLSL

#version 430
in vec2 fragment_uv;
out vec4 frag_color;
layout(location = 4) uniform sampler2D tex;
void main()
{
vec4 sampled = texture(tex, fragment_uv);
frag_color = vec4(sampled.xyz, 1.0);
}