Karma - Controlling Ramp direction/pattern
1262
2
0
-
- am_wilkins
- Member

- 27 posts
- Joined: March 2023
- Offline
Hello,
I'm wondering how to control the direction/pattern for a ramp shader node with Karma.
Here is an example of the usual controls I would have in Arnold:

However with a "kma_rampconst" I seem to not have any control and the shader just uses the input 0 point to determine the overall colour.

Any ideas?
all the best,
amwilkins
Edited by am_wilkins - March 26, 2024 06:39:03
Attachments:
arnold_ramp.png (56.7 KB)
karma_ramp.png (76.4 KB)
-
- BrianHanke
- Member

- 455 posts
- Joined: April 2018
- Offline
You'll have to look up the math formulas online for the various 2D transformations and implement them using MaterialX math nodes.
-
- am_wilkins
- Member

- 27 posts
- Joined: March 2023
- Offline
Hi Brian,
Thanks very much for the response.
Okay, that's shame that Karma doesn't have an "easy to use" Ramp shader node yet.
Right now my RND isn't super shader focused and I won't be looking up math formulas, but I'll add this missing feature to my list. Good to know!
all the best,
amwilkins