add anti-aliasing in sample