mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
more misc cleanup, including cutting down on sampling the pbrconfigmap by filling that out first, and drawing the smooth and metal vars from it, and filling out an ao var in case folks wanna use that later, as well as a bit more doubled up functionality prune-down. still tracing why forward lit seems to have lost the map config feature
This commit is contained in:
parent
ad216abc02
commit
8fac88dadc
11 changed files with 38 additions and 31 deletions
|
|
@ -638,12 +638,14 @@ void ProcessedDeferredMaterial::_determineFeatures( U32 stageNum,
|
|||
if( mStages[stageNum].getTex( MFT_PBRConfigMap ) )
|
||||
{
|
||||
newFeatures.addFeature( MFT_PBRConfigMap );
|
||||
if( mStages[stageNum].getTex( MFT_PBRConfigMap )->mHasTransparency )
|
||||
newFeatures.addFeature( MFT_GlowMap );
|
||||
}
|
||||
else
|
||||
newFeatures.addFeature( MFT_PBRConfigVars );
|
||||
|
||||
// Deferred Shading : Material Info Flags
|
||||
newFeatures.addFeature( MFT_DeferredMatInfoFlags );
|
||||
newFeatures.addFeature( MFT_MatInfoFlags );
|
||||
|
||||
for ( U32 i=0; i < fd.features.getCount(); i++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue