Doodle3D-Core/shaders/anaglyph_vert.glsl

7 lines
135 B
Plaintext
Raw Normal View History

2018-01-10 12:21:14 +01:00
varying vec2 vUv;
2018-01-11 11:39:41 +01:00
2018-01-10 12:21:14 +01:00
void main() {
2018-01-11 11:39:41 +01:00
vUv = vec2(uv.x, uv.y);
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
2018-01-10 12:21:14 +01:00
}