Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

ArnoldDisplacement "height" ShaderTweak not visible

22 views
Skip to first unread message

Riccardo Cecchinato

unread,
Jan 28, 2025, 12:50:08 PMJan 28
to gaffer-dev
Hello!
It seems like the self parameters of "ArnoldDisplacement" node (Height, Padding, Zero Value) cannot be displayed by the ShaderTweak node. It only displays the parameters of the map plugged into the ArnoldDisplacement node, but not the node's own parameters listed above.

Could you please confirm to me this behaviour?

If that's in fact the case, is there any suggested workaround to override the displacement height on a specific geometry, without doing a displ shader re-assign?
I tried adding to the ShaderTweak the "height" parameter by hand, as a float, but it errors.

Thanks in advance for your help!

Riccardo

John Haddon

unread,
Jan 28, 2025, 1:04:24 PMJan 28
to gaffe...@googlegroups.com
The height is a bit of an oddity in that it isn't actually a shader parameter - instead it is an attribute assigned directly to the geometry. As such, it can be tweaked using an AttibuteTweaks node rather than a ShaderTweaks node.
Cheers...
John


--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gaffer-dev/92ee2b33-ffcd-4ac9-98a2-974f65d1d43cn%40googlegroups.com.

Riccardo Cecchinato

unread,
Jan 29, 2025, 4:19:27 AMJan 29
to gaffer-dev
Thank you John!

I had the intuition last night and you just confirmed it to me, it is true that it's a bit odd - considering displacement is assigned through a ShaderAssign - but it does make sense, being a mesh attribute.
Noted also for the other params/attribs tweakable through the AttributeTweak instead of SHaderTweak.

Have a great day,
Best
Riccardo

Reply all
Reply to author
Forward
0 new messages