5
\$\begingroup\$

Sort of like a strip-light effect; not actually a light source, but just a polygon with glowing edges.

Can this be done easily? Right now I'm contemplating drawing a line more than once with varying alpha/width values to achieve this, but I think that'll cause weird glowing points at the vertices, which is far from ideal.

\$\endgroup\$
1
  • \$\begingroup\$ Chances are you will want a shader. \$\endgroup\$ Commented May 7, 2011 at 8:23

1 Answer 1

2
\$\begingroup\$

The basic idea is to extrude the line into a polygon, but do it like you'd billboard a point sprite (but for a line segment).

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .