0
$\begingroup$

I would like to set the 'world' shader to a gradient, which should be one colour at the nadir, another colour at the zenith, and other colours in between, using a ColorRamp node.

There is an answer here, but it's for an older version of Blender and doesn't seem to behave quite as described in 2.8. I do get a gradient, but no matter how much I fiddle with it, I can't seem to get it to cover the whole range of the ColorRamp.

There are also various answers covering how to get a gradient across the window, but that's not what I want. I'm aiming for more of a sky dome sort of effect.

This is my current set-up, which isn't quite working - it seems to be correct in the upper half of the sky, but the lower half is a uniform yellow-green. enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Hi. Please make the title of your question specific to the problem you are having and not just the general topic. Thanks. $\endgroup$ Jul 22 '20 at 12:57
  • $\begingroup$ @RayMairlot my question is literally what the title says: how do you achieve a sky gradient in Blender 2.8? If there is something you feel is missing, which would make it more specific in a way you would find more satisfying while also accurately representing my question, then by all means please go ahead and hit the edit button, that's what it's for. $\endgroup$
    – N. Virgo
    Jul 22 '20 at 14:35
0
$\begingroup$

I solved this for myself after a bit more fiddling around. I'm not quite sure what I was doing wrong, but I figured I'd post this for others, because it's somewhat simpler than the setup in the linked question.

enter image description here

$\endgroup$
2
  • 1
    $\begingroup$ Recommend try the new sky texture (added to 2.90) for a better result: wiki.blender.org/wiki/Reference/Release_Notes/2.90/… $\endgroup$
    – brockmann
    Jul 22 '20 at 11:42
  • $\begingroup$ @brockmann thanks - I'll use it for sure if I need a realistic sky. In this case I was trying to achieve a specific non-natural look, so I needed the extra control of a ColorRamp $\endgroup$
    – N. Virgo
    Jul 22 '20 at 12:43

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.