Simple fog how?

I need make fog use depth fade material, but when i add this material to cube its “empty” without fog how make “full”?. I dont wanna use volume material becouse projections move little on edge