Understanding gl-Position: My First Real Vertex Shader
This is part 2 of learning about GlSL:This is a very common vertex shader, especially in libraries like Three.js. const vshader = ` void main() { gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); } `; Let's break it do...