Creates a new instance of the Filter2to1 class.
An optional shader instance, defining the filter's processing logic.