Draw selected nodes as tinted with wireframe, instead of drawing the bounding box

This commit is contained in:
parax0
2015-11-26 03:42:42 -07:00
parent 7a69346ff3
commit c132197df0
23 changed files with 101 additions and 69 deletions

View File

@@ -172,10 +172,10 @@ void CRenderer::RenderBuckets(const SViewInfo& ViewInfo)
glDepthRange(0.f, 1.f);
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
mOpaqueBucket.Draw(mOptions);
mOpaqueBucket.Draw(ViewInfo);
mOpaqueBucket.Clear();
mTransparentBucket.Sort(ViewInfo.pCamera);
mTransparentBucket.Draw(mOptions);
mTransparentBucket.Draw(ViewInfo);
mTransparentBucket.Clear();
}