Files
axyz/resources/Shaders/DrawScreenQuad.frag.glsl
2015-12-02 18:00:11 +01:00

20 lines
275 B
GLSL

#version 430
layout (binding = 0) uniform sampler2D Texture;
in VertexData{
vec2 TextureCoordinate;
}Input;
out vec4 fragmentColor;
void main()
{
vec4 texel = texture(Texture, Input.TextureCoordinate);
fragmentColor = texel;
//fragmentColor = vec4(1,0.5,0.7,1);
}