Distant horizon not working with shader in minecraft 1.20.1

As the title says. Distant horizon works but it doesn't work with shader like when I used it in 1.21.1 on fabric.
Was this page helpful?