mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
emissive to recivesShadows
now we've got a glow mask and multiplier, ditch the emissive flag in favor of a proper recivesShadows
This commit is contained in:
parent
54a2235128
commit
645f88d4af
20 changed files with 70 additions and 114 deletions
|
|
@ -74,7 +74,7 @@ void RenderOcclusionMgr::init()
|
|||
|
||||
mMaterial = MATMGR->allocateAndRegister( String::EmptyString );
|
||||
mMaterial->mDiffuse[0] = LinearColorF( 1, 0, 1, 1 );
|
||||
mMaterial->mEmissive[0] = true;
|
||||
mMaterial->mReceiveShadows[0] = false;
|
||||
mMaterial->mAutoGenerated = true;
|
||||
|
||||
mMatInstance = mMaterial->createMatInstance();
|
||||
|
|
@ -234,4 +234,4 @@ void RenderOcclusionMgr::render( SceneRenderState *state )
|
|||
|
||||
// Call setup one more time to end the pass.
|
||||
mMatInstance->setupPass( state, sgData );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue