Transparent ofSphere

Hey guys ,

I’m trying to make a transparent of sphere but change the material alpha is not working ? Somebody have some light ?



Try using ofSetColor(255,255,255,100) to get the alpha you want. If you want a transparent sphere.
also, ofFloatColor is from 0-1, not 0-255. Don’t forget to turn on ofEnableAlphaBlending()

There are many things that determine the overall color of a lit object in virtual 3d space. A little more about it here
under Material Colors


Thanks for your help Nick ! ofSetColor solve the problem !