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

shaders.glsl120.basic.vert Maven / Gradle / Ivy

The newest version!
// $shader_type: vertex

// $attrib_layout: position = 0

#version 120

attribute vec3 position;

uniform mat4 modelMatrix;
uniform mat4 viewMatrix;
uniform mat4 projectionMatrix;

void main() {
    gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(position, 1);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy