Apply a filter to a texture