fireball/lib/renderers/shaders/ShaderChunk/project_vertex.glsl
2018-12-25 17:29:22 +03:30

4 lines
108 B
GLSL

vec4 mvPosition = modelViewMatrix * vec4( transformed, 1.0 );
gl_Position = projectionMatrix * mvPosition;