mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
material definition
changing the beast over to the refactor
This commit is contained in:
parent
4d980e5406
commit
cebfdbc5ec
13 changed files with 61 additions and 105 deletions
|
|
@ -252,8 +252,8 @@ void TSLastDetail::update( bool forceUpdate )
|
|||
// Setup the material for this imposter.
|
||||
mMaterial = MATMGR->allocateAndRegister( String::EmptyString );
|
||||
mMaterial->mAutoGenerated = true;
|
||||
mMaterial->setDiffuseMapFile(diffuseMapPath, 0);
|
||||
mMaterial->setNormalMapFile(_getNormalMapPath(), 0);
|
||||
mMaterial->_setDiffuseMap(diffuseMapPath, 0);
|
||||
mMaterial->_setNormalMap(_getNormalMapPath(), 0);
|
||||
|
||||
mMaterial->mImposterLimits.set( (mNumPolarSteps * 2) + 1, mNumEquatorSteps, mPolarAngle, mIncludePoles );
|
||||
mMaterial->mTranslucent = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue