game.codecraft-graphics_2.11.0.7.0.source-code.110_xyz_rgb_vs.glsl Maven / Gradle / Ivy
The newest version!
#version 110
attribute vec3 vertexPos;
attribute vec3 vertexCol;
varying vec3 fragmentCol;
uniform mat4 modelview;
uniform mat4 projection;
void main (void) {
gl_Position = projection * modelview * vec4(vertexPos, 1.0);
fragmentCol = vertexCol;
}