ok! my clunky soln seems to work!!

cube depth buffer precision still off though