Hey, so I've tried a lot of things in order to achieve this, however each method has some flaws that I could not fnid a way to overcome.
Offsetting the vertices - Works, however sometimes the outline is 1, sometimes 2 pixels.
Offsetting the UVs - using partial derivatives, I was able to get a nice exactly 1 pixel thick outline, however, I could not find a way to draw outside the bounds with this method as ddx and ddy only work in the fragment code.
Offsetting the vertices - Works, however sometimes the outline is 1, sometimes 2 pixels.
Offsetting the UVs - using partial derivatives, I was able to get a nice exactly 1 pixel thick outline, however, I could not find a way to draw outside the bounds with this method as ddx and ddy only work in the fragment code.