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

shader.vertex.glsl Maven / Gradle / Ivy

The newest version!
#version 410

layout (location = 0) in vec3 position;
layout (location = 1) in vec2 textureCoordinate;

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

out vec2 outTextureCoordinate;

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy