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

org.saintandreas.gl.shaders.CubeMap.vs Maven / Gradle / Ivy

The newest version!
#version 330

uniform mat4 Projection = mat4(1);
uniform mat4 ModelView = mat4(1);

layout(location = 0) in vec3 Position;

out vec3 texCoord;

void main() {
    gl_Position = Projection * mat4(mat3(ModelView)) * vec4(Position, 1.0);
    texCoord = -Position;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy