mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #943 from Azaezel/alpha403/emissiveToReciveShadows
emissive to recivesShadows
This commit is contained in:
commit
95b8028e5a
23 changed files with 80 additions and 128 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