Merge pull request #1074 from Azaezel/AccuVolumes_2

Accumulation volumes
This commit is contained in:
Daniel Buckmaster 2014-12-26 13:18:00 +11:00
commit 7d376386d1
42 changed files with 2680 additions and 8 deletions

View file

@ -165,6 +165,9 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
MeshRenderInst *coreRI = renderPass->allocInst<MeshRenderInst>();
coreRI->type = RenderPassManager::RIT_Mesh;
// Pass accumulation texture along.
coreRI->accuTex = rdata.getAccuTex();
const MatrixF &objToWorld = GFX->getWorldMatrix();
// Sort by the center point or the bounds.