STKMeshes: Support for transparent_add_color mat

This commit is contained in:
Vincent Lejeune 2014-01-28 20:12:56 +01:00
parent 143e3a355d
commit 9955aa6970
2 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,8 @@ isObjectPass(video::E_MATERIAL_TYPE type)
return true;
if (type == video::EMT_ONETEXTURE_BLEND)
return true;
if (type == video::EMT_ONETEXTURE_BLEND)
return true;
return false;
}

View File

@ -793,6 +793,8 @@ static bool isObject(video::E_MATERIAL_TYPE type)
return true;
if (type == video::EMT_ONETEXTURE_BLEND)
return true;
if (type == video::EMT_TRANSPARENT_ADD_COLOR)
return true;
return false;
}