Shader refactoring

Set 16bit texture properly and use the linear sampler. (Multiply key
toggles it)
24bpp mode got more complicated though.