question

Edwin Fuhrmann avatar image
Edwin Fuhrmann asked ·

Controlling two displacement shaders in one material

Hello.

I am building a mountain landscape and want to combine a rock material and a snow material (classic one i know). so far so good i built the two materials and put them in a layer shader and controll them with a vertex map.

Next i want to have displacement for the rock and the snow. So my question is how can i combine the two displacements and how does cinema know which displacement is for which shader....I found some post here which go in the same dircetion but not one for this exact problem...Thanks i advance and i would be really gratefull if some one could help me!

PS:I am also struggeling super hard again to achieve a good look with the displacement. the top of the rocks look super round and big and the typologie is not visible...there are almost no details and it´s all super clumsy...the landscape object has 700x700 segments and 4 iterations which should be fine? my computer can´t mangage much more and if i change some values the loading times are always super long...the displacement value is 0.3


bildschirmfoto-2021-01-30-um-000012.png

bildschirmfoto-2021-01-29-um-235717.pngsnapshot-000.jpg

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

Edwin Fuhrmann avatar image
Edwin Fuhrmann answered ·

no problem with the delay...i am always glad for your help an will try this asap.

greetings!

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.

Peter Horvath avatar image
Peter Horvath answered ·

Sorry for the late reply. You should be able to control the displacement via a layer_float shader (normal displacement) or layer_rgba (vector displacement) using the same vertex map you use for the surface. Something like this:

landscape-shader.png

Note, that if you are referencing other materials, you can access only the beauty from the reference but not the displacement at the moment. It's on my todo list to add support for displacement references as well, but it's not yet implemented.


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.