Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Invert ramp values

3 REPLIES 3
Reply
Message 1 of 4
PuChiNgBaLLz
690 Views, 3 Replies

Invert ramp values

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

 

Tags (4)
3 REPLIES 3
Message 2 of 4

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.

Message 3 of 4
PuChiNgBaLLz
in reply to: PuChiNgBaLLz

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

 

Message 4 of 4

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report