added RGBFilter code based of Roborealm