mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Merge pull request #1074 from Azaezel/AccuVolumes_2
Accumulation volumes
This commit is contained in:
commit
7d376386d1
42 changed files with 2680 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue