All Downloads are FREE. Search and download functionalities are using the official Maven repository.

game.codecraft-graphics_2.11.0.7.0.source-code.110_xyz_rgba_vs.glsl Maven / Gradle / Ivy

The newest version!
#version 110

attribute vec3 vertexPos;
attribute vec4 vertexCol;

varying vec4 fragmentCol;

uniform mat4 modelview;
uniform mat4 projection;

void main (void) {
    gl_Position = projection * modelview * vec4(vertexPos, 1.0);

    fragmentCol = vertexCol;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy