void DeferredRenderingApp::draw()
{
    mDeferredRenderer.renderFullScreenQuad(RENDER_MODE);
    
	if (mShowParams) {
		mParams.draw();
    }
}
Exemple #2
0
void ParamApp::draw()
{
  gl::clear();
  param.draw();

  gl::pushModelView();

  ly::drawCube(Vec3f(0,  0, 0), Vec3f(50, 50, 50), ColorA(0, 1, 1, 0.4f));
  ly::drawCube(Vec3f(0, 20, 0), Vec3f(60, 50, 50), ColorA(1, 0, 1, 0.4f));

  gl::popModelView();
}