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