This is a diagram: http://i.stack.imgur.com/1RcAW.png

Look at the background carefully...

This background was made in compositing: http://www.filedropper.com/xtruder22

However, I wanted to know whether I could put a better background gradient from a .jpg or .png file? e.g.: http://www.shoutot.com/stockimage/black-gradient-background.jpg http://fc07.deviantart.net/fs71/f/2013/042/c/3/gradient_toshiba_background_by_daproba-d5uo24e.png

Many thanks

  • $\begingroup$ I'll have a look at the answers tomorrow. $\endgroup$
    – Turbo
    Dec 25 '13 at 21:28
  • $\begingroup$ Also you don't have to use an image to get a nice gradient, you can use a gradient texture or colour ramp in blender to generate nice gradients, either as a material on a plane as part of the render or as another render layer or scene to composite into the final. $\endgroup$
    – sambler
    Dec 26 '13 at 14:53

Yes, you can do that with the mix node.

Use the Input > Image node to load in the background image, then use the Mix node with alpha to put it behind.

Node setup: enter image description here


enter image description here

  • $\begingroup$ I couldn't do gandalf3's method. So I chose yours. $\endgroup$
    – Turbo
    Dec 26 '13 at 5:24

Another option is an Alpha over node:

enter image description here

  1. Add an Image node (ShiftA> Input > Image) and open your background image:

    enter image description here

  2. To crop or scale your background image to fit your render, add a Scale node (ShiftA> Distort > Scale).
    Set the Coordinate Space to Render Size, and set the scale type. If your background image is larger than the render, you probably want to crop it. (select Crop) However, if it is smaller and you want to scale it up, select Fit:

    enter image description here

  3. Connect the nodes as shown above.

  • 1
    $\begingroup$ Wondering what version of Blender you're using. Our version 2.69 does not have so many menu items as in your snapshots! $\endgroup$
    – Developer
    Dec 26 '13 at 3:03
  • $\begingroup$ I couldn't do your method. Thanks a lot anyway, I upvoted your answer. $\endgroup$
    – Turbo
    Dec 26 '13 at 5:25
  • $\begingroup$ @Developer I'm using 2.69 too.. Are your sure you were using composite nodes? $\endgroup$
    – gandalf3
    Dec 26 '13 at 7:02
  • $\begingroup$ Well, not. Now we can find them :) Thanks. Compositing. $\endgroup$
    – Developer
    Dec 26 '13 at 8:10
  • $\begingroup$ @gandalf3 You used Alpha over node when CharlesL used Mix. Which is better? Thanks $\endgroup$
    – Turbo
    Dec 26 '13 at 10:47

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.