Now it just fot more complicated. But I guess directx function is the only solution. I concept was actualy from a game I use to play called arma and road models ar actual mesh that ars set flat to the ground. Now flatting mesh to the surface will cause flickering on the surface so I have to work with z-bias aswell to make sure road is drawn on top of the terrain and not just move it one quants higher. I thought it would be an simple task.