1
$\begingroup$

On a texture painted character, I would like to have a gradual fade from light to dark.

But on trying all interpolation modes with the Gradient Texture Node, the gradient is still quite sharp.

How can one create a gradual gradient with the texture node?

enter image description here

$\endgroup$
2
  • 2
    $\begingroup$ You are currently using Window coordinates, which will vary from 0 to 1 over the width of the render region - rather than your character. Is that intentional? You should probably be using Generated or Object coordinates. $\endgroup$ Commented Sep 14, 2020 at 16:48
  • $\begingroup$ Yes,the shadow has to swoop across all objects in the scene 'one at a time ' (rather than be cast all at once with generated coordinates) ,for this reason Window/Camera coordinates were used. $\endgroup$
    – srt111
    Commented Sep 15, 2020 at 5:12

1 Answer 1

1
$\begingroup$

I assume that you don't really want the emissions shader. At the moment the ColorRamp node doesn't really help the emission shader. The ColorRamp node only outputs black color everywhere because it has no input and the Fac is set to 0.645 where the color is black. Therefore the emission shader only outputs black.

I also assume that you don't want the Mapping to Displacement connection. A Displacement node should be connected to Displacement input of Material Output and it requires an image or some other kind of texture to work. Also it only works in Cycles and in Material Settings Surface Displacement should be set to Displacement or Displacement and Bump.

To add dark color to your image you could use a MixRGB node set to Multiply and connect it to your Gradient. To amplify the effect you could add a Math node set to Power. You could add an Invert node to have the shadow on the opposite side. The Mapping node seemed to work the best with default settings.

Nodes

$\endgroup$
1
  • $\begingroup$ Yeah,the Black Fac on ColorRamp (connected to the Emission Node(strength below 1.5)) was too high , On creating a more even distribution , a gradual gradient was created. $\endgroup$
    – srt111
    Commented Sep 15, 2020 at 5:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .