OSL node is not working

Hello

So I am trying to use osl scripts but for some reason they are not working. Here is what I do:

  • Paste code to notepad
  • Save it as *.osl
  • Open in cycles
  • Connect it into right shaders

And nothing happens. Here is example tutorial:

I did exact same things! Rendering with CPU. Tried on 2 computers and others osl shaders. Nothing
Thanks for any help!

Did you check the Open Shading Language box under the the camera icon, Properties panel?