Draw edges of a polygon with OpenGL shaders

Viewed 10670

I was wondering if it was possible to draw the edges of a rendered polygon with a specific color using a fragment shader, as in this example picture:

enter image description here

Or should I just render those separately?

1 Answers
Related