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

shaders.Simple.vs Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
#version 330

uniform mat4 Projection = mat4(1);
uniform mat4 ModelView = mat4(1);
uniform vec4 Color = vec4(1, 1, 1, 1);

layout(location = 0) in vec3 Position;

out vec4 vColor;

void main() {
  gl_Position = Projection * ModelView * vec4(Position, 1);
  vColor = Color;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy