Skip to content

Instantly share code, notes, and snippets.

@defHLT
Created October 2, 2013 15:37
Show Gist options
  • Save defHLT/6795687 to your computer and use it in GitHub Desktop.
Save defHLT/6795687 to your computer and use it in GitHub Desktop.
attribute vec2 uv;
varying vec4 colorVarying;
varying vec2 uvVarying;
varying vec2 texcoord;
void main () {
texcoord = uv;
gl_Position = gl_ModelViewProjectionMatrix * gl_ModelViewMatrix * gl_Vertex;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment