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:

Or should I just render those separately?
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:

Or should I just render those separately?