Skip to content

Instantly share code, notes, and snippets.

@Hebali
Created January 12, 2017 17:28
Show Gist options
  • Save Hebali/783523b0b85bce432554182e81b2a3ba to your computer and use it in GitHub Desktop.
Save Hebali/783523b0b85bce432554182e81b2a3ba to your computer and use it in GitHub Desktop.
GLSL Vertex Shader: Default Passthrough
// Default Passthrough
// GLSL Vertex Shader
// Implementation by Patrick Hebron
void main()
{
gl_FrontColor = gl_Color;
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = ftransform();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment