Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //[VERTEX SHADER]
- #version 330
- layout(location = 0) in vec3 position;
- void main()
- {
- vec3 invertedPos = position;
- invertedPos.y = -position.y;
- gl_Position = vec4(invertedPos, 1.0);
- //gl_Position = vec4(position, 1.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement