-
2 different projection matricies
For the program i'm making, I want to have a projection matrix that handles the content showing, and another one that handles gui. The reason I want 2 different matricies is so that one is ortho'd differently than the other. I for one don't even know if this is possible, but if it is i'm looking for help.
-
Senior Member
OpenGL Guru
Shouldn't be a problem. You can have as many as you want.
-
but, I would like to know how.
-
Member
Regular Contributor
Set matrix_1, render everything that should get matrix applied, set matrix_2, render everything else. How to set/change the matrix depends on whether you are using a shader-based approach or still the fixed-function pipeline.
-
I'm not using shaders. I just want to handle one projection matrix one way, and another projection matrix another way. They both project content I draw, but they both have different orthographic setups.
-
Well, I solved it. Thanks for trying.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules