How do I create a triangle or circle shape with thickness border and transparency?

How do I create a triangle or circle shape with thickness border and transparency?
I realized that I can’t make it with normal EdgesGeometry. I am wondering how to write shaders.

I tried the examples in this link but didn’t get what I was looking for.

What do you mean by “triangle or circle shape with thickness border and transparency”?

Here is one of the official demos. Set thetaSegments to 3 to get a triangle with thick border and transparent interior; or set it to 20 to get a circle:

Click here: RingGeometry documentation

1 Like