Improvments to MultipassTechnique shaders