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?
See work related on this page: http://web.archive.org/web/20120527185124/http://cgg-journal.com/2008-2/06/index.html
A vertex shader should render polygons where the distance to each edge is colored.
The difference between coloring each "cell" is explained in much detail.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With