Added a "Nearest Filtering" option for testing.