
shaders.glsl330.basic.vert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of caustic-api Show documentation
Show all versions of caustic-api Show documentation
API for the Caustic OpenGL rendering library.
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