lottes.vs 222 B

12345678910111213141516
  1. #version 150
  2. in vec4 position;
  3. in vec2 texCoord;
  4. out Vertex {
  5. vec2 vTexCoord;
  6. };
  7. uniform vec4 targetSize;
  8. uniform vec4 sourceSize[];
  9. void main() {
  10. gl_Position = position;
  11. vTexCoord = texCoord;
  12. }