Must be something else than my script. The slider controls directly the opacity attribute of the shaders.