16 lines
493 B
GLSL
16 lines
493 B
GLSL
//This shader file is part of FLAR - Advanced Renderer for Freelancer by Schmackbolzen
|
|
//If you use the supplied shader files you may not modify them unless you state in them what you changed
|
|
//and also mention the source or who the author is.
|
|
//Post processing shader for FLAR by Schmackbolzen
|
|
|
|
#version 330
|
|
layout (location = 0) in vec4 vertex;
|
|
|
|
out vec2 TexCoords;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(vertex.xy, 1.0f, 1.0f);
|
|
vec2 texture = vertex.zw;
|
|
TexCoords = texture;
|
|
} |