void ForceMaterial( IMaterial* material, Color color ) { if( material != NULL ) { I::RenderView->SetColorModulation( color.Base() ); I::ModelRender->ForcedMaterialOverride( material ); } }
void ForceMaterial( IMaterial* material, Color color ) { if( material != NULL ) { I::RenderView->SetColorModulation( color.Base() ); I::ModelRender->ForcedMaterialOverride( material ); } }