Refactored Material interface
Former-commit-id: 9a00be1b73b2c879fc77c9fdddc0192baa241fda
This commit is contained in:
@@ -101,7 +101,7 @@ void NzForwardRenderQueue::AddModel(const NzModel* model)
|
||||
case nzAnimationType_Static:
|
||||
{
|
||||
NzStaticMesh* staticMesh = static_cast<NzStaticMesh*>(subMesh);
|
||||
if (material->IsAlphaBlendingEnabled())
|
||||
if (material->IsEnabled(nzRendererParameter_Blend))
|
||||
{
|
||||
unsigned int index = transparentStaticModels.size();
|
||||
transparentStaticModels.resize(index+1);
|
||||
|
||||
Reference in New Issue
Block a user