fireball/lib/renderers/shaders/ShaderChunk/project_vertex.glsl

4 lines
108 B
Plaintext
Raw Permalink Normal View History

2018-12-25 13:59:22 +00:00
vec4 mvPosition = modelViewMatrix * vec4( transformed, 1.0 );
gl_Position = projectionMatrix * mvPosition;