Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Terrain Face Triangulation

Discussion in 'World Building' started by icanhazscreenid, Oct 13, 2022.

  1. icanhazscreenid

    icanhazscreenid

    Joined:
    Jun 2, 2016
    Posts:
    14
    Is there a way to change the face triangulation direction in Unity Terrain. Please see the image of a raised hexagon (six sides). Four of the six sides will be straight(ish) as the edge direction goes in the same direction as a terrain a mesh edge. But two of the sides will be jagged as the quad face is triangulated in the opposite direction. Increasing the resolution of the mesh will more closely approximate a straight edge but the better solution is to triangulate the quad face in the opposite direction. Is it possible to change triangle direction for these faces?
    terrain tris.PNG