Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

How to define a material with both surface and displace shader in MaterialX

2 ANTWORTEN 2
GELÖST
Antworten
Nachricht 1 von 3
Anonymous
321 Aufrufe, 2 Antworten

How to define a material with both surface and displace shader in MaterialX

Material is defined within a shaderref clause, and in all the examples I can find is to define a surface shader shaderref in material section. Question is how to define a material contains both surface shader and displacement shader? Just put a displacement shaderref below the surface shader?

Beschriftungen (2)
2 ANTWORTEN 2
Nachricht 2 von 3
Stephen.Blair
als Antwort auf: Anonymous

Use the shaderref type to specify that the shader is a displacement shader:

<shaderref name="simple_disp" node="noise" type="displacementshader">


// Stephen Blair
// Arnold Renderer Support
Nachricht 3 von 3
Anonymous
als Antwort auf: Stephen.Blair

place a noise directly in shaderref directly is working, but in maya there is usually a MayaNormalDisplacement node, I've tried to use this node as displacementshader type shaderref, connecting with a nodegraph, didn't work out. Do arnold support this kind connection or there mightbe something wrong in my mtlx document?

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report