Files
pymol-open-source/data/shaders/vrcontroller.vs
Thomas Holder 276640cd29 Port EPAM's VR fork to PyMOL 2.4
Porting the essential parts of EPAM System's "openvr" branch to the
master branch.

Original authors:
Natalia Smirnova, EPAM Systems, Inc.
Pavel Smirnov, EPAM Systems, Inc.

Original fork:
https://github.com/epam/pymol-open-source/tree/openvr

Adjustments:
- Make feature optional with "--openvr" compile option
- Python 3 support
- Remove C++11 workarounds
- Exclude build system changes

Co-authored-by: Natalia Smirnova <Natalia_Smirnova@epam.com>
Co-authored-by: Pavel Smirnov <pavel_smirnov1@epam.com>
2019-11-11 00:50:01 -08:00

9 lines
189 B
GLSL

attribute vec3 position;
attribute vec2 texcoords_in;
varying vec2 texcoords;
void main() {
texcoords = texcoords_in;
gl_Position = gl_ModelViewProjectionMatrix * vec4(position, 1);
}