1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#version 100 /* * Copyright (C) 2017-2020 Philip Jones * * Licensed under the MIT License. * See either the LICENSE file, or: * * https://opensource.org/licenses/MIT * */ attribute vec2 position; attribute vec2 texcoord; varying vec2 Texcoord; void main() { Texcoord = texcoord; gl_Position = vec4(position, 0.0, 1.0); }