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

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

The newest version!
// $shader_type: vertex

#version 330

layout(location = 0) in 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