mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Ongoing PostFX org rework.
This commit is contained in:
parent
b221b312d2
commit
64db2b1d15
6 changed files with 221 additions and 178 deletions
|
|
@ -1434,6 +1434,11 @@ void PostEffect::_checkRequirements()
|
|||
// properly, we can find all the input textures,
|
||||
// and its formats are supported.
|
||||
|
||||
if (mShaderName == String("PFX_ReflectionProbeArray") || getName() == StringTable->insert("reflectionProbeArrayPostFX"))
|
||||
{
|
||||
bool derp = true;
|
||||
}
|
||||
|
||||
mIsValid = false;
|
||||
mUpdateShader = false;
|
||||
mShader = NULL;
|
||||
|
|
@ -1473,9 +1478,11 @@ void PostEffect::_checkRequirements()
|
|||
if ( texFilename.isNotEmpty() && texFilename[0] == '#' )
|
||||
{
|
||||
NamedTexTarget *namedTarget = NamedTexTarget::find( texFilename.c_str() + 1 );
|
||||
if ( !namedTarget )
|
||||
if (!namedTarget)
|
||||
{
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
// Grab the macros for shader initialization.
|
||||
namedTarget->getShaderMacros( ¯os );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue