Code: Select all
driver->beginScene(true, true, 0);
driver->setRenderTarget(rt);
env->drawAll();
driver->setRenderTarget(0);
smgr->drawAll();
driver->endScene();
For example, I have button on top left corner. Whan gui renden in texture on object, I can see my button on center screen. And whan I try push this button... I think you undestend )
How render GUI in texture whith position widgets?