Crepuscular rays (a.k.a. "god rays" and many other names) can be created in Blender Internal by checking the Halo checkbox in the lamp properties box.

How can I create a similar effect using Cycles?

  • $\begingroup$ I don't think this is possible currently. This should be possible once volume render is integrated in 2.69 or 2.7 $\endgroup$
    – gandalf3
    Commented Aug 24, 2013 at 19:18
  • $\begingroup$ It is possible, the question is, for what effect do you need it? I don't know atm if 'light through clouds in the distance' will be pretty, but simulating halos is possible. $\endgroup$ Commented Aug 24, 2013 at 22:47
  • $\begingroup$ related: blender.stackexchange.com/questions/1294/… $\endgroup$
    – gandalf3
    Commented Aug 24, 2013 at 23:05
  • $\begingroup$ Actually I just need a simple way to visualize a coded light source (something like structured light coded light grey patterns). I would like to create a coned light source that is masked by another object, and light can only pass through the slits. $\endgroup$
    – Mercury
    Commented Aug 25, 2013 at 10:22
  • $\begingroup$ @Mercury I'm not sure I understand.. you will still need volumetrics if you want to see the light in the air. $\endgroup$
    – gandalf3
    Commented Aug 25, 2013 at 20:46

3 Answers 3



As of Blender 2.70, cycles has had volumetric support. See this answer for details on how to set up crepuscular rays with the new volumetric features.

As mentioned by Wchargin, this will be possible once volumetrics is integrated.

However, there are some ways to fake this:

  • Using motion blur:

    Basically you use a plane that moves through the entire scene perpendicular to the camera, then turn on motion blur and increase the frame blending enough so that cycles is calculating the entire motion. The plane will catch the light and blend it through the whole scene giving the illusion of volume lighting. I used a mix of diffuse and translucent material for the plane but wouldn't be surprised if there was a better material method.

  • Using BI to render halo volumes and then use compositing nodes to combine with Cycles render


You can use Sun Beams node in the Compositor, introduced with Blender 2.72.


it doesn't involve true volumetrics and renders super fast, although it's not as flexible and thus not suitable for all situations. Here is a simple example:

sun beams node

  • $\begingroup$ What is this Add node? I can't find it :/ the one from Math doesn't look the same $\endgroup$ Commented Aug 23, 2017 at 21:13
  • $\begingroup$ It's under Compositor nodes Color > Mix $\endgroup$
    – jubi
    Commented Aug 26, 2017 at 18:22

The term you're looking for is volumetric lighting, an alternative name for crepuscular rays. Unfortunately, Cycles does not yet support volumetric lighting.

For more info, check out the Cycles Roadmap:

For 2.68, the following features are planned to be worked on:

  • Hair shader
  • Ubershader (combined diffuse+glossy+transparent node)
  • Look into of improvements for SSS, AO, mist, ..

After this the next big feature will be Volumetrics. Probably the first release with Volumetrics will be 2.69 or 2.70.

(emphasis mine)


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .