]> gitweb.factorcode.org Git - factor.git/commit
MacOS X glFrustum generates -0.0 in W column of projection matrix; Windows glFrustum...
authorJoe Groff <arcata@gmail.com>
Thu, 14 May 2009 02:28:12 +0000 (21:28 -0500)
committerJoe Groff <arcata@gmail.com>
Thu, 14 May 2009 02:28:12 +0000 (21:28 -0500)
commit2da256063f736028a9c95476226296dc339ea203
tree72e2a22689734ba5575951e3f13e16b26758a36d
parent0378c612c64130540a260e685890dd36799c9134
MacOS X glFrustum generates -0.0 in W column of projection matrix; Windows glFrustum generates 0.0. This causes sign differences in the gl_ProjectionMatrixInverse between platforms. manually force the z coordinate sign in terrain sky projection to be negative like it ought to be
extra/terrain/shaders/shaders.factor