Polygon center edge...

You could do that as a texture, I’m not sure doing it in code is going to really be all that useful, it would have to be rendered to a texture map anyways.