Add brightness functino to gd effects class