More flexible texture creation
Also more flexible rendertargets

Changed object id to {uint32, uint32},
which will be used as {modindex, refid} like in morrowind

Also, use the new object id format in the color picking stuff
(ie, change uint to uvec2)