So it sounds like the setup is correct, does the original material show as expected before trying to change it? How are you using the DMI after creating it? Could you post the code that you’re using to change the DMI material as well as how the code is called?