26

I am wondering how to recreate some kinds of effects (you can easily do in Photoshop) in Blender.

I want to create the gradient textures like ones pictured below, should I render objects and blur them in compositor? Or can I achieve it using only material nodes?

Radial gradient

Linear gradient

David
  • 49,291
  • 38
  • 159
  • 317
Paul Gonet
  • 33,368
  • 17
  • 91
  • 171

1 Answers1

34

You can acheive this with Cycles material nodes using the 'Gradient Texture' node.

enter image description here

Setting the gradient node to 'Quadratic sphere' (and with a little offset from the vector mapping node) restults in this (on a plane with uv basic unwrapping):

enter image description here

To control the scale of the 'Quadratic sphere' in the result above I scaled the UV's as scaling using the vector mapping node node seemed to scale it towards the corner.

For a linear gradient you can simply set the Gradient Texture to 'Linear':

enter image description here

enter image description here

For different colours you can simply use a colour 'MixRBG' node and use the factor of the gradient texture instead of the colour and connect it to the 'Fac' of the mix node.

enter image description here enter image description here

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125