added pack/unpack to hxsl (abstract float<->color encoding)
a bit of support for alternate texture format (not complete)