Code: Select all
void ManualObject::_updateRenderQueue(RenderQueue* queue, Camera *camera, const Camera *lodCamera)
{
for (SectionList::iterator i = mSectionList.begin(); i != mSectionList.end(); ++i)
{
// Skip empty sections (only happens if non-empty first, then updated)
RenderOperation* rop = (*i)->getRenderOperation();
if (rop->vertexData->vertexCount == 0 ||
(rop->useIndexes && rop->indexData->indexCount == 0))
continue;
//TODO: RENDER QUEUE ?
//queue->addRenderable(*i, mRenderQueueID, mRenderQueuePriority);
}
}
I have six jpgs representing up, down, front etc. and I used to be able to use them as one skybox in Ogre 1.7. Can I achieve the same thing in 2.1?