Creating Shader from NodeMaterialEditor

Also, see my answer in this thread: