Jump to content

ramp in color, reflectivity or opacity?


dynamoanders

Recommended Posts

Hi guys.

I just can´t get my head wrapped into this (coming from Maya).

How can I control my color with a ramp (or opacity or reflectivity)?

In Maya, if I want something like a fresnel effect, I just plug a ramp into the reflectivity input and control the color from there.

I was thinking of doing something like having the opacity strong in the middle of my object, and getting weaker towards the end, trying to use the default clay shader , plugging a ramp into the reflectivity.

How do I do this?

Thank you

//Anders

Link to comment
Share on other sites

Hi Anders,

In SOP's : you can add vopsop and add ramp node inside of vopsop and give output of ramp parameter to color attribute.

If you want to control opacity, create a add attribute node inside of vopsop and in parameters give opacity as the attribute name and connect ramp parameter to output to its input.

Link to comment
Share on other sites

You can get a vector from the point to be shaded to the camera. If you dot that with the normal you get the cosine of an angle and can drive a ramp with and output either a float or a color.

There is also a ready made fresnel node.

Edited by Macha
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...