# Warning: [mtoa] [translator polymesh] ShadingGroup dx11Shader4SG has no surfaceShader input
When the Directx11 shader is applied as new material, any object displayed will be given a pink (Magenta) color in Arnold render. I checked nodes to see if the shader was not attached and everything seemed fine. My PC has a GTX 960 graphics card and runs Directx11 and 12. This occurs with and without textures. Yes, I swapped Open GL for DirectX in viewport 2.0 and activated the Directx11 plugin.
Solved! Go to Solution.
Solved by mspeer. Go to Solution.
Hi, if that is the case, it also displays pink after restarting and with Octane Render, Maya Software, Maya Hardware, (Maya Hardware 2.0), and Maya Vector. I originally thought to use Maya Hardware 2.0 as such matched with Viewport but after it originally failed I resorted to my default: Arnold Render to see for a fix. Altering the Renderer and restarting the program does not appear to have any effect on the issue and even creating a new model and applying the Directx11 shader still results in the pink coloration.
Hi!
DirectX Shader is a hardware shader and only works with Viewport 2.0 / Maya Hardware 2.0 and the Render Engine in Maya (Preferences) needs to be set to "DirectX".
Materials are renderer specific, please check the manual of a renderer for a list of supported materials.
If you want to render with Arnold, then use Arnold materials.
If you want to render with Octane, then use Octane materials.
...
Understood, all steps have been followed as per your description and via Youtube tutorials. As I am new to 3D modeling, I took some time to think about what I could have done wrong, seeing as it did not resolve my issue. Originally my logic was to follow the format you stated: (DirectX with viewport 2.0) Arnold with Arnold, Octane with Octane, but after this failed to show any change to the pink I assumed that method was wrong. Since I originally worked with Arnold I then thought applying the two together would have no effect, so thanks for the clarification.
As it turns out, however, the issue was localized to my PC, as the computers on campus did not have the same issue. Since then a hard reboot of my PC as well as clearing the C-drive seemed to have done the trick and now the renderers display properly.
Can't find what you're looking for? Ask the community or share your knowledge.