mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Handler binding on a scene level working
This commit is contained in:
parent
7219899287
commit
9a5700addc
4 changed files with 66 additions and 47 deletions
|
|
@ -245,7 +245,7 @@ bool ProcessedCustomMaterial::init( const FeatureSet &features,
|
|||
return false;
|
||||
}
|
||||
|
||||
rpd->shaderHandles.init( rpd->shader, mCustomMaterial );
|
||||
rpd->shaderHandles.init( rpd->shader, mCustomMaterial->mCustomShaderFeatures, mCustomMaterial );
|
||||
_initMaterialParameters();
|
||||
mDefaultParameters = allocMaterialParameters();
|
||||
setMaterialParameters( mDefaultParameters, 0 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue