something weird is happening to depth maps returned from openGL