Created
January 30, 2015 12:58
-
-
Save natxopedreira/4ddfcaf8482a977e87ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 150 | |
uniform mat4 projectionMatrix; | |
uniform mat4 modelViewMatrix; | |
uniform mat4 modelViewProjectionMatrix; | |
in vec4 position; | |
in vec2 texcoord; | |
out vec2 v_TexCoordinate; | |
void main(){ | |
//get our current vertex position so we can modify it | |
v_TexCoordinate = texcoord; | |
gl_Position = modelViewProjectionMatrix * position; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment