4
$\begingroup$

I'm using a Spotlight on one of my scenes, first I planned to make the effect of the lightrays on other editing software, but maybe it's possible on Blender. It is possible to make a spotlight look like the image below? (also, I'm using cycles)

Thanks in regard! :)

enter image description here

$\endgroup$
1

1 Answer 1

6
$\begingroup$

Yes, this is now very easy to do efficiently. Add a spot lamp where you want it, and then add a cube and edit to just barely contain the spot lamp:

SpotLamp1

Make the material of the cube as shown. Note that the Transparent shader is not necessary, and you can leave the Surface input blank. However you can have a surface material and a volume material at the same time.

Nodes

Then add a plane as the ground and render:

Render

Since the volume is so small to render, it renders very quickly, this test render took about 3.5 seconds.

If you want to move your spot lamp, just parent the mesh to it with CtrlP > Object.

$\endgroup$
9
  • 1
    $\begingroup$ no need of transparent BSDF. $\endgroup$
    – Bithur
    Commented Feb 9, 2015 at 17:55
  • 1
    $\begingroup$ Not necessary for functionality, but I still use it. It makes it clearer what is happening. $\endgroup$
    – J Sargent
    Commented Feb 9, 2015 at 17:56
  • $\begingroup$ No need AND no side effect? (slower render or anything bad) I agree that getting things clearer can be useful. $\endgroup$
    – Bithur
    Commented Feb 9, 2015 at 17:58
  • 1
    $\begingroup$ BTW, volume shaders tends to be better with more render samples, less noisy. The screenshot is very noisy because of a very low (and fast, good for testing) render/preview samples. For this you won't need many volume bounces anyway (0 should do). $\endgroup$
    – Bithur
    Commented Feb 9, 2015 at 18:15
  • 1
    $\begingroup$ Maybe not for true novices (not in diguise :) ) $\endgroup$
    – Bithur
    Commented Feb 9, 2015 at 18:35

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