#version 330 // pathfinder/shaders/post.vs.glsl // // Copyright © 2019 The Pathfinder Project Developers. // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. precision highp float; in ivec2 aPosition; out vec2 vTexCoord; void main() { vTexCoord = vec2(aPosition); gl_Position = vec4(vec2(aPosition) * 2.0 - 1.0, 0.0, 1.0); }