Terrain Texture readable?

Hi all,

a question at UT but also at all others:

Is it possible to read the textures of the terrain on a specific position?
I found terrainData in Script Reference, but the Docs are a little lack there.
If I use maybe grass and sand, how could I know where the player is moving on?
I tried to get it with Raycast but there is no way to get the texture which is painted on the terrain I can only get the TerrainCollider or terrainData.
What the terrainData is Containing? Which member vars or public vars?

If it is not possible at the moment please tell me and I will use a terrain build in blender cause the built-in terrain tool is useless for me in this case :frowning:

I hope to get an answer there and maybe a solution.

rgds

zem

there are no textures at a specific position.
They are blended on the graphic card through shaders at realtime using the splat map and the up to 4 textures that are assigned to a splat map.

As its pure gpu shader driven on anything but stone age hardware, you can’t get any information from the pick.

you would have to calculate all these data yourself basing on the splatmap and corresponding textures