attribute highp vec3 vertexPosition_mdl; varying highp vec2 UV; void main() { gl_Position = vec4(vertexPosition_mdl, 1.0); UV = (vertexPosition_mdl.xy + vec2(1.0, 1.0)) / 2.0; }