Im doing shadowmapping for directional lights, and the standard depth bias matrix doesnt give the same results on diffirent hardware.
After some debugging, I'm pretty sure that some gpu-s write to the depth buffer normalized values [0, 1] and some orthographic projection values [-1, 1].
How do i force all gpus to write values in the same interval? Is there an OpenGL command?