Changed Material to look for the new ITexture interface