Gl scalar tex float

Adds support for specifying scalar/monochrome textures with float and half float color types. Fixes #3039.
Isn’t GL_LUMINANCE_ALPHA two bytes instead of one?