mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
strip out unused pixspecular to cut down on sources of confusion
This commit is contained in:
parent
6326147fca
commit
57ee1882fa
22 changed files with 12 additions and 534 deletions
|
|
@ -84,8 +84,6 @@ MaterialManager::MaterialManager()
|
|||
Con::NotifyDelegate callabck2( this, &MaterialManager::_onDisableMaterialFeature );
|
||||
Con::setVariable( "$pref::Video::disableNormalMapping", "false" );
|
||||
Con::addVariableNotify( "$pref::Video::disableNormalMapping", callabck2 );
|
||||
Con::setVariable( "$pref::Video::disablePixSpecular", "false" );
|
||||
Con::addVariableNotify( "$pref::Video::disablePixSpecular", callabck2 );
|
||||
Con::setVariable( "$pref::Video::disableCubemapping", "false" );
|
||||
Con::addVariableNotify( "$pref::Video::disableCubemapping", callabck2 );
|
||||
Con::setVariable( "$pref::Video::disableParallaxMapping", "false" );
|
||||
|
|
@ -417,12 +415,6 @@ void MaterialManager::recalcFeaturesFromPrefs()
|
|||
mExclusionFeatures.setFeature( MFT_NormalMap,
|
||||
Con::getBoolVariable( "$pref::Video::disableNormalMapping", false ) );
|
||||
|
||||
mExclusionFeatures.setFeature( MFT_SpecularMap,
|
||||
Con::getBoolVariable( "$pref::Video::disablePixSpecular", false ) );
|
||||
|
||||
mExclusionFeatures.setFeature( MFT_PixSpecular,
|
||||
Con::getBoolVariable( "$pref::Video::disablePixSpecular", false ) );
|
||||
|
||||
mExclusionFeatures.setFeature( MFT_CubeMap,
|
||||
Con::getBoolVariable( "$pref::Video::disableCubemapping", false ) );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue