You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When offsetting polygons to the inner side and using transparency, you get line overlapping.
Not sure is this is an incorrect line joining issue or just an incorrect use of the stencil buffer.
I managed to overcome this on GL native by using a custom layer and rendering the polygons on my own. But I would like to see this done also in JS, where AFAIK there is no support for custom layers.
The easy fix here would be to fill the polygon into the stencil buffer and then make another pass with the offset, using the stencil buffer to figure out where to draw.
This would be a killer feature for borders, indicating which side you are on.
The text was updated successfully, but these errors were encountered:
When offsetting polygons to the inner side and using transparency, you get line overlapping.
Not sure is this is an incorrect line joining issue or just an incorrect use of the stencil buffer.
I managed to overcome this on GL native by using a custom layer and rendering the polygons on my own. But I would like to see this done also in JS, where AFAIK there is no support for custom layers.
The easy fix here would be to fill the polygon into the stencil buffer and then make another pass with the offset, using the stencil buffer to figure out where to draw.
This would be a killer feature for borders, indicating which side you are on.
The text was updated successfully, but these errors were encountered: