Smoke Trails in Unity3D

I am trying to add the smoke trail effect into my game from this tutorial I found.

http://farfarer.com/blog/2012/12/04/smoke-trails-in-unity/

I converted the code there into C# and everything seems to be fine, except I am not sure how to use the texture as material. It seems like I am using the wrong shader.

Here is what it looks like in game right now.

Imgur

particle system has that feature now included,
https://blogs.unity3d.com/2017/10/21/the-future-of-unity-is-just-a-few-clicks-away/
(see 2nd video, below it there is also project download)

Thanks! I will look into it.