Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Terrain generation vertex spacing & affect on applied materials.

Discussion in 'General Graphics' started by EthanKessler_Dev, Aug 3, 2023.

  1. EthanKessler_Dev

    EthanKessler_Dev

    Joined:
    Jul 25, 2020
    Posts:
    3
    upload_2023-8-3_8-50-40.png
    I've been working on a terrain generation system that has been producing roughly the sort of terrain I want, however it comes with the downside of large steps from one set of vertices (the base plane) to the top of the cliff. The algorithm works by displacing vertices from a plane, so I'm wondering: what's the best method of increasing the vertex count on the side walls of the terrain? Initially I investigated remeshing the entire thing however I am concerned about the performance of executing a remesh every time terrain is generated.

    Would this lack of vertices affect the application of materials to the terrain? (I guess displacement maps will not work on the wall).

    There are lots of vertices to spare on the plane, how could I include some of them in the wall? Thanks!