Code: Select all
for (u32 i=0; i<nodes.size(); i++) {
nodes[i]->OnAnimate(coreManager->GetDevice()->getTimer()->getTime());
nodes[i]->OnRegisterSceneNode();
if (nodes[i]->isVisible()) nodes[i]->render();
};
It seems that it happens only when I use shaders...