charcoal/shaders/ImageFS.glsl
elipzer 7cbe8acf30 Libraries Work!
Now the code is being compiled through .lib files!
2018-10-11 01:26:24 -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);
}