Well, I'm not sure whether this is a bug or not, because I don't how "legal" is to have an scene without camera.
my render routine is like that:
Code: Select all
driver->beginScene(true, true, 0);
if (rt)
{
driver->setRenderTarget(rt, true, true);
scene->drawAll();
driver->setRenderTarget(0);
}
scene2->drawAll();
driver->endScene();
Scene2 shows an screen aligned quad whitout having to create a camera to look over it. But when I render any other scene, to a texture (no matter whether I'm using or not this texture in scene2), the quad is not shown.
After moving half of my project to RTT example I discovered that when you render an scene, the camera keeps active in the following one. And this is a problem if the following one, did not activated any camera.