mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 13:44:32 +00:00
Updates ImageAsset usage to utilize AssetRef, and standardizes the setter/getter functions and naming conventions, as well as the ability to use and bind named targets.
This commit is contained in:
parent
a858d8624e
commit
34e3f78a22
82 changed files with 1451 additions and 951 deletions
|
|
@ -208,8 +208,8 @@ Material *ColladaAppMaterial::createMaterial(const Torque::Path& path) const
|
|||
Material *newMat = MATMGR->allocateAndRegister( cleanName, getName() );
|
||||
Con::setVariable("$Con::File", oldScriptFile); // restore script path
|
||||
|
||||
newMat->_setDiffuseMap(diffuseMap, 0);
|
||||
newMat->_setNormalMap(normalMap, 0);
|
||||
newMat->setDiffuseMap(diffuseMap, 0);
|
||||
newMat->setNormalMap(normalMap, 0);
|
||||
|
||||
newMat->mDiffuse[0] = diffuseColor;
|
||||
newMat->mRoughness[0] = roughness;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue