mirror of
https://github.com/schrodinger/pymol-open-source.git
synced 2026-06-07 20:44:23 +08:00
15 lines
241 B
GLSL
15 lines
241 B
GLSL
#ifdef PURE_OPENGL_ES_2
|
|
precision highp float;
|
|
#endif
|
|
|
|
attribute vec3 a_Vertex;
|
|
varying vec2 bgTextureLookup ;
|
|
|
|
uniform bool isPicking;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(a_Vertex.xy, .5, 1.);
|
|
bgTextureLookup = (1. + a_Vertex.xy) / 2.;
|
|
}
|