Created
May 13, 2015 12:52
-
-
Save xseignard/b0ef469d24f3256211ca to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // automatically set by OF | |
| attribute vec4 position; | |
| attribute vec2 texcoord; | |
| uniform mat4 modelViewProjectionMatrix; | |
| // varying that will be passed to the fragment shader | |
| varying vec2 vUv; | |
| // noop vertex shader | |
| void main() { | |
| vUv = texcoord; | |
| gl_Position = modelViewProjectionMatrix * position; | |
| } |
xseignard
commented
May 13, 2015
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment