draw text and determine the material at runtime

I want render text to texture, and i have achieved it as in this tutorial now i want determine the material of font to get my text as neon with emissive as i think but how can and for that i made this material but this didnot wotk, what should i do.