Game Development Community

Vertical surfaces stretched on terrain

by combitz · in Torque Game Engine · 12/13/2008 (2:53 am) · 1 replies

I have a terrain that is working well but on the very high terrain areas which are meant to be cliffs, the texture is stretched in the z axis. Anyone know of a fix for this please.

tia

#1
12/13/2008 (6:14 am)
You probably don't want to use a heightfield to represent a cliff, because they have a planar UV projection that will stretch the texture more as it becomes steeper. Use a DTS or DIF (or DTS with no collision and a simpler invisible DIF collision box) for the cliff or overhang. Texture it with the same texture you use if you want it to match up. Wish there was a better solution, but terrains are kind of limited that way. Hope that helps.