Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Apply multiple shading groups* to one mesh.

Apply multiple shading groups* to one mesh.

w.rodewald
Explorer Explorer
624 Views
2 Replies
Message 1 of 3

Apply multiple shading groups* to one mesh.

w.rodewald
Explorer
Explorer

Hi,
I was wondering if there is a way to apply multiple shading groups on one mesh or alternatively apply multiple shaders (and layer them together) but apply displacement to one of these shaders but not another.

Basically, I want to add water drop effects to a surface and wanted to use displacement to get the proper effect of water drops on top of a surface. and then have one material create the surface and the displaced material on top of that create the water.

I know I can add multiple shaders by layering them using aiLayerShader. But I can't add displacement to one of them without adding it to the other. Is there a way to do that?

Cheers!

0 Likes
625 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager

Displacement happens before shading, so all shaders are applied to the displaced surface.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 3

w.rodewald
Explorer
Explorer

Hey,

I learned that the hard way yesterday. Basically, even trying to duplicate a mesh that overlays another mesh via duplicate special (instance) wont work because the displacement is applied not only to the duplicated mesh but to all of its instances. So it will displace the original mesh. The only way I could get it to work is to do an actual copy and apply a new shader with displacement to that..

0 Likes