Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Directx11 Shader displays pink

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
iweeast1
2289 Views, 4 Replies

Directx11 Shader displays pink

# 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

4 REPLIES 4
Message 2 of 5
mspeer
in reply to: iweeast1

Hi!

 

Arnold does not support DirectX shaders.

Use Arnold materials with Arnold.

Message 3 of 5
iweeast1
in reply to: mspeer

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.

Message 4 of 5
mspeer
in reply to: iweeast1

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
in reply to: mspeer

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report