Implement of the shader consts binding.

This commit is contained in:
Areloch 2017-10-10 15:54:54 -05:00
parent 74138342d1
commit 70c154c7d3
12 changed files with 137 additions and 7 deletions

View file

@ -207,6 +207,8 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
coreRI->materialHint = rdata.getMaterialHint();
coreRI->mCustomShaderData = rdata.getCustomShaderBinding();
coreRI->visibility = meshVisibility;
coreRI->cubemap = rdata.getCubemap();