glfreak
06-22-2010, 10:42 AM
I'm trying to construct the Frustum perspective projection matrix as defined in the GL spec 2.1. and pass it to the shader instead of using the fixed functionality pipeline.
The result is that my geometry is scaled down by half or so.
Is not it the same matrix generated by the glFrustum?
Is there an extra step I need to do prior to passing this matrix I create?
Thanks.
The result is that my geometry is scaled down by half or so.
Is not it the same matrix generated by the glFrustum?
Is there an extra step I need to do prior to passing this matrix I create?
Thanks.