Commit 86d0a070 authored by Jan Möbius's avatar Jan Möbius
Browse files

Missing shaders



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17462 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e2eca231
#version 150
uniform sampler2D textureSampler;
in vec2 vTexCoord;
out vec4 oColor;
void main()
{
oColor = texture2D(textureSampler, vTexCoord);
}
#version 150
in vec4 inPosition;
out vec2 vTexCoord;
void main()
{
gl_Position = inPosition;
vTexCoord = inPosition.xy * 0.5 + vec2(0.5, 0.5);
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment