Thank you. That's the reason, because it works now.
And the reason that I coudn't use it before is: This shader needs blocks in the level. And all my blocks is map entities. So, with a big hollowed block with the sky flag on in my level, the shader started to work.