1#ifndef PYMOL_WEBGL
2#version 120
3#endif
4
5attribute vec3 a_Vertex;
6varying vec2 texcoordAttr;
7
8void main()
9{
10	vec2 vert = vec2((1. + a_Vertex.xy) / 2.);
11	texcoordAttr = vert;
12	gl_Position = vec4(a_Vertex.x, a_Vertex.y, 0., 1.);
13}
14