webgl-threejs-hello/app/js/shaders/depthShader-vert.glsl
2018-10-12 12:45:31 -04:00

6 lines
125 B
GLSL

varying vec2 vUV;
void main() {
vUV = uv;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}