• Saturday , 4 July 2020

Blender Space Scene Background Tutorial | Stars | Blender Render Nodes

Code Canyon


This is an easy to follow Blender space scene background tutorial. In it, you will learn how to create a background of stars on the Blender Render Engine, using simple nodes.

Well well well, how is it going?

Today I am going to teach you a very simple technique that I use to create a space background or a sky full of stars background.

So, in the blender render engine, go to the world tab.

Check the Blend Sky and Real Sky checkboxes.

Set the zenith and ambient colors as black.

Set the horizon color’s RGB values as shown here.

Now that this is all set up, all that is missing are the actual stars, right?

The creation of the stars is a very easy process.

Well then, let’s make this happen.

First, divide the screen like this.

Activate the display render preview mode so you can see the changes that you will make.

Open the node editor.

Set it to texture nodes and select the world data, option.

Now, click this button to create a new texture.

Check the use nodes checkbox.

As you can see, you have a standard checker texture.

You will notice it is really dark in the rendered view.

Let’s change that.

Go to the Texture tab.

Check horizon, under the influence options, and uncheck blend.

Everything looks much clearer now.

You have this as your default texture.

I will show you how to turn this, into this.

Don’t worry, I will explain everything.

Leave your output node, but delete the checker node.

The first node that you need to add is the stucci node.

Set these options exactly as you see here.

set the size to 0.003 and turbulence to 60.

If you don’t know how to add the stucci node, this is how you do it.

The second node that you are going to need is the color ramp node.

Connect the color output of the stucci node to the factor input of the color ramp node.

For the left slider in this node, set the color to black and the alpha to zero.

Set the position as 0.960.

The second slider will be set at position 0.990 with a white color and alpha 1.

This is enough to create stars, but they will lack color.

The color will be added by this lower node segment.

This will create clusters of red stars and blue stars, which will be mixed in the final result.

Notice the red stains surrounded by blue stains.

I don’t know if you can see it, but there are clusters of blue and red stars, clearly divided.

Anyway, I will show you how to do this.

So, add a default musgrave texture node.

Then, add a mix RGB node.

You add this node the same way as the other nodes.

Set the first color as red and the second color as blue.

Leave the blending as mix.

Don’t forget to connect the musgrave’s color output to the mix factor.

Now, create two more mix RGB nodes.

Set the blend mode of the second one to add.

Set the factor values as shown.

Connect the red and blue color mix as the second color of the 2 new mix nodes.

Connect the color ramp output as the first color of the same nodes.

Notice that this second node contains many variations of white, blue and red stars.

This happens because it is adding the red and blue colors to the white stars that come from the color ramp node.

This first node has the more saturated red and blue star clusters, but lacks the white stars.

The last mix RGB node is set to the lighten blend mode.

This means that it will pick the brightest color for every individual star.

Set the factor to 1.

As you can see, the result is a bunch of bright stars of varying colors.

Ok, now let me show you something.

Normally, galaxies have a bright horizon.

This phenomenon is caused by the high concentration of stars that condense due to gravitational forces.

The brighter the horizon, the thicker your galaxy will seem.

The deep and dark space represents the empty space outside of the galaxy.

You can change the horizon colors, depending on the color of the galaxy.

A very old galaxy would be red in color, for example.

You can create multiple effects with the horizon color alone.

Later, you can also add some extra textures, such as a nebula and galaxies in the distance.

You can also create a sky texture using these methods.

Notice the contrast between the total darkness of empty space and the horizon of the galaxy.

Ok, so did you see how easy it was to create a simple stars in space type scene with just a few nodes?

What else can you do with it?

If you find a better or easier way, let me know in the comments.

Anyway, if you found this video to be helpful, like it and subscribe.

I will be sharing more quick tips and tutorials, whenever I discover new techniques.

If you have any question about any animation related technique, ask away.

See you around.


3d Ocean

Related Posts


  1. Michael Williams
    March 30, 2019 at 22:01

    I followed all the way through, but it came out stars over red and blue. Why is that? Where did I go wrong?

  2. alfin septiano
    March 30, 2019 at 22:01

    you forgot to smoth the pillar

  3. Drastic
    March 30, 2019 at 22:01

    how to add nodes?

  4. johndsigns
    March 30, 2019 at 22:01

    so I guess it is safe to assume Blender does not have a star option anymore..?

  5. Gary Oldman
    March 30, 2019 at 22:01

    Not working for me. Im using version 2.79b. Checkered texture isn showing

  6. seekertosecrets
    March 30, 2019 at 22:01

    This was an interesting tutorial.

  7. TheKingArmyRS
    March 30, 2019 at 22:01

    Simple,Nice,And Great 馃榾 10/10

  8. ClashOfClanGameHAx0r
    March 30, 2019 at 22:01

    i change colors in blender render but when i go back to cycles it's only blaack please help

  9. Bubble Animations
    March 30, 2019 at 22:01

    I could tell immediately from the beginning that this would help me. I hadn't gotten any other luck with the other videos. I also have used your flag tutorial, and that helped me greatly. Subscribed and liked!

  10. Herokiin
    March 30, 2019 at 22:01

    When i go to the world tab (the earth symbol) theres no arrow who says again "world" which u can open 馃槷

  11. Trooper Motions
    March 30, 2019 at 22:01

    Are you K2SO?

  12. Corbin Grothe
    March 30, 2019 at 22:01

    Background looks great, but when I try to copy/paste premade objects into the scene, they won't appear. If I 'shift A' and add something, it will appear fine. I'm new to Blender and was wondering if anyone knew why this happens, and if so, any solutions? Plz?

  13. Dr. PowerMuffin
    March 30, 2019 at 22:01

    you are the best at giving tutorials

  14. Tom Verk枚uter
    March 30, 2019 at 22:01

    Thanks Anonymous ! 馃榾

  15. Issachar
    March 30, 2019 at 22:01

    Awesome voice XD i like it !
    And thanks for the tutorial

  16. Nika Pole
    March 30, 2019 at 22:01

    your sound in treble

  17. Joakim AXIS
    March 30, 2019 at 22:01

    Best Tutorial I Ever Seen!

Leave A Comment

You must be logged in to post a comment.