sing this tutorial repository and associated video you will learn how to get the Albedo texture from any Renderer using any Shader AND how to get the active textures on a Unity terrain at any given point.
Why do you think that https://github.com/llamacademy/light-lod is a good alternative to get-terrain-texture