0
$\begingroup$

This is my first time asking anything on here, but I have been using Blender for many years now. I am currently working on a specific type of toon shader. I want it to be able to automate any image and texture into its definite toon values.

Currently, I am stuck. I have a Color Ramp set up on constant to give a toon effect, but whenever I use Color Ramps it always replaces the values of the original with whatever values are set in the ramp. I know that is what it is supposed to do, but I just want the constant part from the ramp and not the values that come from it. I know I could just change the values of the ramp to work for it, but I don't want to have to change them every time. My final project that this is meant for has many different values and I don't want to have to manually do each one.Without Coor RampWith the Color Ramp

$\endgroup$
0
$\begingroup$

If I understandyour question, as you are getting from the color ramp a shading information, you can use it as a color multiplyer before the actual shader.

enter image description here

| improve this answer | |
$\endgroup$
  • $\begingroup$ not exactly. This is so hard to explain over text. I know I can add the colour back in by using multiply or value mix, but I'm trying to get a specific value clamp on my colour ramp. so let's say that we shade a sphere in diffuse lighting, the shadow is around 40% value, and the Light is about 80% Value well once I add this colour ramp to it automatically replaces those with 100% Value for shadows and 0% for highlights. I want to keep the values but use a constant effect. $\endgroup$ – Alan Wyatt Nov 27 '19 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.