Search Unity

How would i go about spawning custom meshes with a procedural terrain?

Discussion in 'General Graphics' started by weltraumimport, Feb 8, 2022.

  1. weltraumimport

    weltraumimport

    Joined:
    Jan 30, 2017
    Posts:
    5
    Given a procedural hexagon map in Unity, I am currently just connecting all the hexagons with triangles and quads that i generate at appropriate points using vectors. It's pretty much this here by catlikecoding


    I was thinking instead of having these sharp cliffs, i could spawn custom meshes like in Endless Legend on the walls instead in order to create prettier landscapes with those custom cliffs.

    Question is does that make sense? Can i just instantiate prefabs filled with custom meshes and materials and have it work? Are there better approaches to this goal or does anyone have experience with such things?