Semi-transparency in GLGraphics
in
Contributed Library Questions
•
1 year ago
Hi everyone,
I'm still pretty new to GLGraphics and I just wanted to ask what the best way to create a semi-transparent shape was. I have rendered a sphere based on the globe example, but need to be able to see through it to an extent.
Should I then just apply colours with an alpha value to each vertex, or do I need to use a sprite or texture or something which is semitransparent? I'm after a very basic example or explanation. This sphere must be a GLModel.
And then how should I combine rendering that sphere with rendering other lines/point/shape GLModels which surround the sphere which may or may not be semi-transparent themselves? Blending modes and depth masking etc
Thanks!
1