Handler binding on a scene level working

This commit is contained in:
Areloch 2017-10-19 15:34:57 -05:00
parent 7219899287
commit 9a5700addc
4 changed files with 66 additions and 47 deletions

View file

@ -431,6 +431,10 @@ void RenderDeferredMgr::render( SceneRenderState *state )
mat->setNodeTransforms(passRI->mNodeTransforms, passRI->mNodeTransformCount);
}
//-JR
//push along any overriden fields that are instance-specific as well
//mat->setCustomShaderHandles()
// If we're instanced then don't render yet.
if ( mat->isInstanced() )
{