Add rendering using shaders, add third z coordinate