Implement first pass of transparent graphics object for GLInstancingRenderer

remove 'enableBlend' from API, graphics instances use alpha component instead
fix forward axis for SimpleCamera
This commit is contained in:
erwincoumans
2017-06-24 13:41:33 -07:00
parent c777e61d48
commit a651cb9ab4
17 changed files with 192 additions and 39 deletions

View File

@@ -176,14 +176,12 @@ public:
//int numBodies = 1;
m_app->setUpAxis(1);
m_app->m_renderer->enableBlend(true);
}
virtual ~MultiThreadingExample()
{
m_app->m_renderer->enableBlend(false);
}