Shaders/texture.vsh
#version 150 |
in vec4 inVertex, inTexCoord; |
out vec2 textureCoord; |
uniform mat4 MVP; |
void main() |
{ |
gl_Position = MVP * inVertex; |
textureCoord = inTexCoord.st; |
} |
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-10-13