Skip to content

Instantly share code, notes, and snippets.

@kaosine
Created September 29, 2017 12:41
Show Gist options
  • Save kaosine/8600867229608bc76333682603a3027d to your computer and use it in GitHub Desktop.
Save kaosine/8600867229608bc76333682603a3027d to your computer and use it in GitHub Desktop.
Vertex shader with issues
#version 400 core
in vec3 position;
out vec3 colour;
uniform vec3 pos;
void main(void){
gl_Position = vec4(position + pos, 1.0)
colour = vec3((position.x + 0.5, 1.0, position.y + 0.5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment