ok you will have to wait till a shader expert says something.
si the effect being loaded by the way?
you know.

my.material=mtl_environment;