Added parsing for arrays of bool and controled instancing of textures