Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 400
- in vec3 position;
- out vec3 textureCoords;
- uniform mat4 projectionMatrix;
- uniform mat4 viewMatrix;
- void main(void){
- gl_Position = projectionMatrix * viewMatrix * vec4(position, 1.0);
- textureCoords = position;
- }
Add Comment
Please, Sign In to add comment