restructure entity rendering pipeline to do full clipping and optimize flow