I'm trying to use a bunch of lights (over 20), I found out that the limit is 8. With help from an other post on this forum I was able to change my GL-version to 3,3. The code for this is below:
return ofRunApp(new ofApp());
The problem now is that my light doesn't seem to work anymore. The box is white instead of the color I gave as diffuseColor. The code for the light and box is below:
light.setPosition(0, 0, -60);
ofDrawBox(0, 0, 100, 60,60,1);
Do ofLight-objects work differently in GL 3.3 then they do in the original version? Is there a solution for this?