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\$
  • \$\begingroup\$ Chances are you will want a shader. \$\endgroup\$ – The Communist Duck May 7 '11 at 8:23
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\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.