Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to make a short animation in space and I need stars as my background. I found this nice tutorial, unfortunately it was made in blender render and doesn't work in cycles.

https://www.youtube.com/watch?v=sb4ryQMvRi4

Can someone tell me how to recreate this in cycles?

share|improve this question
    
since i can't comment yet i'll do it this way. do you use blender 2.7 or the latest one (2.76)? – assassin-badjas Jan 11 at 17:18
up vote 10 down vote accepted

First you need to jump over the the Node Editor view, then select Shader Nodes and World. Also make sure Use Nodes is checked.

enter image description here

Then add a Noise Texture node and a Color Ramp node. Plug the Fac of the noise texture into the Color Ramp, and the Color of the Color Ramp into the Color of the default Background shader.

enter image description here

You can then adjust the Color Ramp and Noise Texture how you would like to create the desired starry effect.

  • Noise Texture Scale. This controls the size and amount of stars. Higher scale means more, smaller stars; smaller scale means less, larger stars.
  • Noise Texture Detail. This will adjust the shape and variation in brightness in the stars. Higher value will mean more irregularly shaped stars, but there will be a greater variation in the brightness of the stars.
  • Color Ramp Swatches. Adjusting the color swatches on the Color Ramp will change the size and shape of the stars. The farther apart the swatches are the bigger and more irregularly shaped the stars will be.

Shown above are the settings I used to create the below render.

enter image description here

share|improve this answer
    
Awesome, this is what I wanted. Thank you! – N1xX Jan 11 at 18:03

You may do it using Noise Texture and Color Ramp nodes. Set them up as pictured below. enter image description here

Here's the result. enter image description here

Play with the settings pictured below (marked as red) for different effects (like stars density, brightness, etc.). enter image description here

share|improve this answer
    
You both posted at the same time, so thank you as well :) – N1xX Jan 11 at 18:04
    
To be exact, my friend PGmath answered 20 seconds before me ;). Anyway, I'm glad I could help :). – Paul Gonet Jan 11 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.