Bit more d3d stuff. Can't get depth right, pretty sure it's the projection matrix calc.