Added initial support for 1D transfer functions to MultipassTechnique