Thanks a lot z80 for the clarification! Now I used bool sun property and it worked great! The only thing I don't understand is "material" string property:why should I use a property for a shader if just linking to a texture the engine finds the shader?
For the tutorial is decided: I'll start tonight and, if you want, before releasing, I could send it to you by mail and then, if everything is correct, publish it on a web space. If nexuiz community should take in consideration the idea of create a "docs" section, maybe it could go there!