Directx11 Shader displays pink

Directx11 Shader displays pink

iweeast1
Explorer Explorer
2,650 Views
4 Replies
Message 1 of 5

Directx11 Shader displays pink

iweeast1
Explorer
Explorer

# 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. pink.PNG

0 Likes
Accepted solutions (1)
2,651 Views
4 Replies
Replies (4)
Message 2 of 5

mspeer
Consultant
Consultant

Hi!

 

Arnold does not support DirectX shaders.

Use Arnold materials with Arnold.

0 Likes
Message 3 of 5

iweeast1
Explorer
Explorer

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.

0 Likes
Message 4 of 5

mspeer
Consultant
Consultant
Accepted solution

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.

...

Message 5 of 5

iweeast1
Explorer
Explorer

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. Smiley Very Happy

 

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.

0 Likes