That shader really isn't a good idea if you're doing anything mobile, unless you're using it on really tiny sprites. Performance will be abysmal, especially on older phones using it at any appreciable size. Generally hue shifts are not a good idea, its often much more efficient to simulate palettes and hue shift that way.