adjusted fxaa shader start

This commit is contained in:
j3oss
2021-07-19 13:51:39 +02:00
parent 94c07145a6
commit 6405830263
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -4,6 +4,6 @@ layout (location = 0) out vec2 outUV;
void main()
{
//outUV = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2);
//gl_Position = vec4(outUV * 2.0f - 1.0f, 0.0f, 1.0f);
outUV = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2);
gl_Position = vec4(outUV * 2.0f - 1.0f, 0.0f, 1.0f);
}