mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
drop the prior requirement for a createcomposite to have a minimum of roughness and metalness. also kick it off if it's got just an ao map.
This commit is contained in:
parent
4b391d8a27
commit
c14c9b78c0
2 changed files with 2 additions and 2 deletions
|
|
@ -491,7 +491,7 @@ void ProcessedMaterial::_setStageData()
|
|||
}
|
||||
else
|
||||
{
|
||||
if ((mMaterial->getRoughMap(i) != StringTable->EmptyString()) && (mMaterial->getMetalMap(i) != StringTable->EmptyString()))
|
||||
if ((mMaterial->getAOMap(i) != StringTable->EmptyString()) || (mMaterial->getRoughMap(i) != StringTable->EmptyString()) || (mMaterial->getMetalMap(i) != StringTable->EmptyString()))
|
||||
{
|
||||
U32 inputKey[4];
|
||||
inputKey[0] = mMaterial->mAOChan[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue