question

William Rodewald avatar image
William Rodewald asked

Apply multiple shading groups* to one mesh.

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!

arnoldshaderslayer
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered

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

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

William Rodewald avatar image
William Rodewald answered

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..

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.