mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
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:
parent
432d201569
commit
438e6cbb3c
10 changed files with 18 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue