mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Goes and replaces the references/names that use Prepass to be Deferred, since we're actually using deferred.
This commit is contained in:
parent
b052a1f970
commit
af8fbf0e3a
122 changed files with 641 additions and 641 deletions
|
|
@ -991,7 +991,7 @@ void DiffuseMapFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
// To dump out UV coords...
|
||||
//#define DEBUG_ATLASED_UV_COORDS
|
||||
#ifdef DEBUG_ATLASED_UV_COORDS
|
||||
if(!fd.features[MFT_PrePassConditioner])
|
||||
if(!fd.features[MFT_DeferredConditioner])
|
||||
{
|
||||
meta->addStatement(new GenOp(" @ = float4(@.xy, mipLod / @.w, 1.0);\r\n", new DecOp(diffColor), inTex, atParams));
|
||||
meta->addStatement(new GenOp(" @; return OUT;\r\n", assignColor(diffColor, Material::Mul, NULL, targ) ) );
|
||||
|
|
@ -1347,7 +1347,7 @@ void LightmapFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
bool bPreProcessedLighting = false;
|
||||
AdvancedLightBinManager *lightBin;
|
||||
if ( Sim::findObject( "AL_LightBinMgr", lightBin ) )
|
||||
bPreProcessedLighting = lightBin->MRTLightmapsDuringPrePass();
|
||||
bPreProcessedLighting = lightBin->MRTLightmapsDuringDeferred();
|
||||
|
||||
// Lightmap has already been included in the advanced light bin, so
|
||||
// no need to do any sampling or anything
|
||||
|
|
@ -1497,7 +1497,7 @@ void TonemapFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
bool bPreProcessedLighting = false;
|
||||
AdvancedLightBinManager *lightBin;
|
||||
if ( Sim::findObject( "AL_LightBinMgr", lightBin ) )
|
||||
bPreProcessedLighting = lightBin->MRTLightmapsDuringPrePass();
|
||||
bPreProcessedLighting = lightBin->MRTLightmapsDuringDeferred();
|
||||
|
||||
// Add in the realtime lighting contribution
|
||||
if ( fd.features[MFT_RTLighting] )
|
||||
|
|
@ -1652,7 +1652,7 @@ void VertLitHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
bool bPreProcessedLighting = false;
|
||||
AdvancedLightBinManager *lightBin;
|
||||
if ( Sim::findObject( "AL_LightBinMgr", lightBin ) )
|
||||
bPreProcessedLighting = lightBin->MRTLightmapsDuringPrePass();
|
||||
bPreProcessedLighting = lightBin->MRTLightmapsDuringDeferred();
|
||||
|
||||
// Assign value in d_lightcolor to toneMapColor if it exists. This is
|
||||
// the dynamic light buffer, and it already has the baked-vertex-color
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue