Blueprint/Code driven landscape visibility?

holy fu@#, that is some weird math, I really need to try to make sense of it.
hey, thanks for sharing those, I’ll play with it in a bit