#version 120 attribute vec3 position; varying vec2 uv0; void main() { gl_Position = vec4(position, 1); uv0 = vec2(position.x * 720.0 / 480.0, position.y); }