I think there is a bug in 0.8.1 with color of box faces.
Here is my code :
void ofApp::draw()
{
ofEnableDepthTest();
ofBoxPrimitive box;
box.set(150);
box.setPosition(300, 300, 0);
box.setSideColor(box.SIDE_FRONT, ofColor::red);
box.setSideColor(box.SIDE_RIGHT, ofColor::green);
box.draw();
}
No problem with OF 0.8.0, I get what I’m expecting :
But with OF 0.8.1 here is what I get :