OK easy enough, however this draws a white line. What if I want a line of a certain color or with a certain amount of transparency? I noticed RenderTexture.draw takes a another parameter, renderstate, from the documentation. Can someone explain how I might go about this. I've looked at the documentation for renderstate but still don't understand how I would go about using it in this case, if you use it at all.
Thanks for any help you can give -Sam
Title: Re: Changing Line Color?
Post by: Laurent on February 02, 2013, 11:09:31 pm
The above version only uses the position component of vertices. But vertices can have a color as well: