add palette support for noise generation