//-------------------------------------------------------------- void testApp::draw() { ofEnableBlendMode(OF_BLENDMODE_ADD); // sys.debugDraw(); // bind texture, enable point sprite while drawing particles sprite.bind(); ofEnablePointSprites(); sys.draw(); ofDisablePointSprites(); sprite.unbind(); }
//-------------------------------------------------------------- void testApp::draw() { ofEnableBlendMode(OF_BLENDMODE_ADD); cam.begin(); ofEnableAlphaBlending(); sys.draw(); em.draw(); mod.draw(); mod2.draw(); cam.end(); }