Some palette removing stuff
Preparation for 32bit shader