Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question
    
Chances are you will want a shader. –  The Communist Duck May 7 '11 at 8:23
add comment

1 Answer 1

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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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