mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge pull request #1642 from Azaezel/globalAccumulation
level-wide accumulation assignment
This commit is contained in:
commit
4c59f39c09
5 changed files with 62 additions and 10 deletions
|
|
@ -1044,7 +1044,11 @@ bool ShapeBase::onAdd()
|
|||
if(mDataBlock->cloakTexName != StringTable->insert(""))
|
||||
mCloakTexture = TextureHandle(mDataBlock->cloakTexName, MeshTexture, false);
|
||||
*/
|
||||
|
||||
// Accumulation and environment mapping
|
||||
if (isClientObject() && mShapeInstance)
|
||||
{
|
||||
AccumulationVolume::addObject(this);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue