Terrain Blending with Wavefront OBJ file

0
down vote
favorite

I have some terrain for a game in a Wavefront OBJ file and I’d like to know how to blend textures from 2 material definitions based on the height of the vertex.

eg I have a lower texture T1 and an upper texture T2 and the current face is at 80% of the height range, so the final texture will be 20% T1 and 80% T2.

Is there a way I can do this in OBJ ?

I notice there is a blendu and blendv functions in OBJ but I don’t know how to use these or if they are relevant to my question.

Can anyone help please ?

Thank you.