View Full Version : 2 different projection matricies

06-08-2012, 09:10 AM
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.

Dark Photon
06-08-2012, 09:34 AM
Shouldn't be a problem. You can have as many as you want.

06-08-2012, 10:09 AM
but, I would like to know how.

06-08-2012, 01:49 PM
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.

06-08-2012, 04:53 PM
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.

06-08-2012, 05:45 PM
Well, I solved it. Thanks for trying.