redstrate.com/content/blog/drawing-simple-cubes/wireframe.vert.glsl

8 lines
148 B
Text
Raw Normal View History

2023-07-02 20:19:13 -04:00
varying vec3 inPosition;
void main() {
inPosition = position;
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
}