# How do I color the shading of a material?

Some art styles increase the saturation in their shading, I'm trying to achieve this effect as seen in cell #2 of my example image. Right now it looks like cell #3, which lacks this and looks dull in the render.

I just have #1 as a default frame of reference, and #4 is an exaggeration of the effect I want; using color for darker areas instead of just darkening. If I could achieve the effect in cell #4, I could easily change it to be like cell #2.

So far I have tried creating 2 material nodes with one of them inverted, and then mixing them. This doesn't show in render mode, and it still doesn't let me change the color where needed. I'm not sure how to go about creating the effect shown in cell #2, because I'm quite new to nodes.

• I'd like to make a note that adding an emission node can achieve this look, but it makes the object glow when the lights are off, and said glow shines on other surfaces. – nomad_trooper Mar 25 '16 at 1:24
• possibly helpful How to render cartoon style with completely flat colors? – David Mar 25 '16 at 1:30
• Possibly add the shader to itself, maybe multiple times? – PGmath Mar 25 '16 at 1:58
• Light Bwk's answer there worked, many thanks. – nomad_trooper Mar 25 '16 at 2:06

This is something you can do very easily in the Blender Internal renderer, where, unlike Cycles, you can feed the output of light's interaction with a surface back into the calculation.

In Cycles, this would lead to a feedback loop: (lighting affects surface affects lighting affects....), so there, you would have break the loop by baking the outcome of one light/surface interaction as, say, a diffuse texture, and use it to influence a second.

Simplest sort of node setup:

(You can use the shading output any way you like)

Result..

In Cycles, you could find a more physically-based route to a specific effect you were looking for .. perhaps subsurface scattering, translucency, fresnel...

1 and 3 look like BSDF shaders but 2 and 4 like emission shaders. As they do not seem to get darker in the shadow.

When you add a node in the shader editor, add a normal node, not normal map but normal node.

Add an emission shader, set it to eg. Red and another to blue.

Mix the shaders with the normal node factor as a factor.

If you now drag and rotate the sphere on the normal node you can create a "fake light and shadow" effect like the spheres on 2 and 4

I think you could get something like that by using a fresnel node to increase the saturation along the edges along with an emission shader.

In Blender Internal Render, just increase the Translucency of the material to $$1$$ for the #2.

For the #4, just "layer weight" two materials.