Problem rendering colored spheres on Mac
I am rendering colored spheres. The code is an follows:
material[i].setEmissiveColor(R, G, B);
The above works fine on a Windows platform i.e. I get the desired color for each sphere. But, when I run the same application on a Mac, all the spheres are rendered as black (which is not what I want).
Any help/insight would be higly appreciated.
Thanks in advance.