Add shader helper funcs and background for glyphs