Projection matrix:
0: 2.41421 4: 0 8: 0 12: 0
1: 0 5: 2.41421 9: 0 13: 0
2: 0 6: 0 10: -1.002 14: -0.2002
3: 0 7: 0 11: -1 15: 1
ModelViewMatrix:
0: -1 4: 0 8: 0 12: 30
1: 0 5: 0.57735 9: 0 13: 30
2: 0.57735 6: 0.57735 10: 0.57735 14: 30
3: 0 7: 0 11: 0 15: 1
The different variables in the shader also have id's so they are recognized.
Hope someone is able to help.
- Ikee
Problems with getting opengl 3.2 to draw
Hi!
I've been having troubles getting OpenGL 3.2 to work.
Source:
http://www.pasteall.org/12061
My shaders compile the program link,
I know the cube is correctly setup(tried to draw it with glBegin()) and the colors work.
My matrices return this:
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement