fix for diffuse map mangling in several cases, filter imposters out of real time lighting (for now?) fix the blankskybox via a resave, and filter "badfilereference" and "failed" assets out of variable replacement for the project converter

This commit is contained in:
AzaezelX 2021-07-25 17:18:55 -05:00
parent 432d201569
commit 438e6cbb3c
10 changed files with 18 additions and 18 deletions

View file

@ -365,7 +365,7 @@ void MaterialList::mapMaterial( U32 i )
newMat->mAutoGenerated = true;
// Overwrite diffuseMap in new material
newMat->mDiffuseMapName[0] = texHandle->mTextureLookupName;
newMat->_setDiffuseMap(texHandle->mTextureLookupName,0);
// Set up some defaults for transparent textures
if (texHandle->mHasTransparency)