Radial/Circular Ramp in MaterialX for XPU?

   1060   2   1
User Avatar
Member
355 posts
Joined: 11月 2015
Offline
Is there any materialX node to get a radial or circular ramp? If not how could I go about making one?
hou.f*ckatdskmaya().forever()
User Avatar
Member
2523 posts
Joined: 6月 2008
Offline
One way is to use the attributepaint node. Click once in the center to generate a faded radial mask attribute. Then you can use that mask to drive a ramp in the color node. Feed that Cd or mask into the MTLX shader to drive what ever parameter you want.
Edited by Enivob - 2023年4月1日 10:26:43

Attachments:
circular_ramp.gif (249.7 KB)

Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
7726 posts
Joined: 9月 2011
Offline
use the length node for radial and atan2 for sweeping circle
  • Quick Links