mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
more prepass cleanup, plus skip out early on _determinefeatures for deferred if we're translucent
This commit is contained in:
parent
b81b4c61a5
commit
1e66b118b6
1 changed files with 2 additions and 1 deletions
|
|
@ -594,6 +594,8 @@ void ProcessedDeferredMaterial::_determineFeatures( U32 stageNum,
|
||||||
const FeatureSet &features )
|
const FeatureSet &features )
|
||||||
{
|
{
|
||||||
Parent::_determineFeatures( stageNum, fd, features );
|
Parent::_determineFeatures( stageNum, fd, features );
|
||||||
|
if (fd.features.hasFeature(MFT_ForwardShading))
|
||||||
|
return;
|
||||||
|
|
||||||
// Find this for use down below...
|
// Find this for use down below...
|
||||||
bool bEnableMRTLightmap = false;
|
bool bEnableMRTLightmap = false;
|
||||||
|
|
@ -676,7 +678,6 @@ void ProcessedDeferredMaterial::_determineFeatures( U32 stageNum,
|
||||||
type == MFT_DetailNormalMap ||
|
type == MFT_DetailNormalMap ||
|
||||||
type == MFT_AlphaTest ||
|
type == MFT_AlphaTest ||
|
||||||
type == MFT_Parallax ||
|
type == MFT_Parallax ||
|
||||||
type == MFT_InterlacedDeferred ||
|
|
||||||
type == MFT_Visibility ||
|
type == MFT_Visibility ||
|
||||||
type == MFT_UseInstancing ||
|
type == MFT_UseInstancing ||
|
||||||
type == MFT_DiffuseVertColor ||
|
type == MFT_DiffuseVertColor ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue