Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to make a glowing sphere?

$
0
0

@n3a9 wrote:

I came across this glowing sphere that someone made in OpenFrameworks, and was really curious as how I could do this. I read a lot about it, and I’m completely inexperienced with OpenGL and shaders so I didn’t do any of that.

So far, all I have is:

ofEnableAlphaBlending();
ofSetColor(255,0,0,127);
ofDrawSphere(position.x, position.y, position.z, radius);

which creates a transparent red sphere. Does anyone have any ideas on how to do this or references I could look through? Thank you so much!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles