added transformFilter to allow for filter fading