Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Invert ramp values

PuChiNgBaLLz
Advocate

Invert ramp values

PuChiNgBaLLz
Advocate
Advocate

Hi there, i'm trying to use a ramp map as a unique node to control 2 values of an Arnold aiStandardSurface material, this is what i have and the red draw is what i need, so this allows me to just modify 1 ramp node and affect multiple inputs, which node do i need to use there or how can i get an inverted value from the same ramp?

 

PuChiNgBaLLz_0-1638910753996.png

 

0 Likes
Reply
854 Views
3 Replies
Replies (3)

hamsterHamster
Advisor
Advisor

I believe, you can use aiColorCorrect node with Invert switch enabled.

hamsterHamster_0-1638911570464.png


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

0 Likes

PuChiNgBaLLz
Advocate
Advocate

I've tried and worked but in the Alpha section of the aicolorcorrect, btw, is there any chance to tweek the black and white tones in the same aicolorcorrect or i need to connect it to another aicolorcorrect? The current ramp is white in the center & black outside, the invert already done just swaped the values, now i have to correct this since is too rough, too White.

PuChiNgBaLLz_0-1638915586758.png

 

0 Likes

hamsterHamster
Advisor
Advisor

Why wouldn't you connect

ramp1.outColor to aiColorCorrect2.input, then

aiColorCorrect2.outColorR to Esciera.specularRoughness

and invert the color, like I shown in my picture before?

Besides, all the multiply, add, exposure etc. attributes there are to correct the output.


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

0 Likes