Renderer changes; render buckets now use new abstract class IRenderable instead of CSceneNode to allow rendering non-nodes, plus renderer modified to easily allow multiple rendering passes overlaid on each other

This commit is contained in:
parax0
2015-08-15 00:04:56 -04:00
parent 4d7774f19e
commit 928381f8e4
16 changed files with 166 additions and 98 deletions

View File

@@ -587,7 +587,7 @@ void CModelEditorWindow::PaintViewport(CCamera& Camera)
{
CDrawUtil::DrawGrid();
mpCurrentModelNode->AddToRenderer(mpRenderer);
mpRenderer->RenderScene(Camera);
mpRenderer->RenderBuckets(Camera);
}
else if (mDrawMode == eDrawSphere)