Landsc ape: Paint: reading from blueprint possible?

thanks for the precise inspiration, it works

I assigned different physical materials and did a line trace to get the information. It works.

But doing a line trace that often (e g with every footstep) might consume a lot of calculation power. Is there a better way to get the information than doing that line trace?