add culling to quad renderer