godot-bordered-polygon-2d icon indicating copy to clipboard operation
godot-bordered-polygon-2d copied to clipboard

If you choose to overlap borders, then opacity will put in evidence the overlap.

Open arypbatista opened this issue 7 years ago • 2 comments

If you choose to overlap borders, then opacity will put in evidence the overlap.

image

arypbatista avatar Feb 25 '17 16:02 arypbatista

Isn't this the reason you want to have overlap?

jtaart avatar Feb 25 '17 17:02 jtaart

No, I want to use overlap to hide fill borders, plus have some texture-alpha opacity to blend with fill texture.

I would like this to behave differently, to first merge textures and then apply opacity to the whole node, so you will see opacity but you won't be able to detect where the inner polygon ends.

But unless we split border polygons in two (outer border, inner border) and apply opacity differently to what is outside and inside, I think this might only be achieved throw _draw.

arypbatista avatar Feb 25 '17 17:02 arypbatista