Shadow texture is broken

I was trying to create a shader that adds shadows, but the shadow texture is broken. It works in OptiFine
Was this page helpful?