View Full Version : 2 different projection matricies

06-08-2012, 08: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, 08:34 AM
Shouldn't be a problem. You can have as many as you want.

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

06-08-2012, 12: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, 03: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, 04:45 PM
Well, I solved it. Thanks for trying.