How to use transparency?

Hello,

I am sorry if this question is not advanced enough to be posted here :slight_smile: I posted in the beginner section and didn’t get any response…

I want to use transparency in webgl with only color and no texture. I found some tutorial online talking about how to do this using blending with texture. If I just use the RGBA color and change the alpha value, how can I enable the transparency? I tried it without blending and the color is just becoming gray but not transparent. With blending I found that the objects with alpha value as 1 also shown as transparent. Please help me with this question. Thank you very much!

Best wishes,
Pine