I would stay away from the template_6 templates...
they give me endless errors, no matter how many ways i install them. Start from scratch, and dont add the template_6 scripts, create a shader.wdl
from the new beta, open the new effects example...take a look at the environemnt box script...
gives you a clear example of how to implement the shaders...
hope that helps