Godot Engine - Road on Procedural Terrain Prototype

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 15

  • @VojtechLacina
    @VojtechLacina 2 роки тому +5

    Looks realy nice, the terrain and roads seems very natural. Looking forward for the updates

  • @thomasamathew4058
    @thomasamathew4058 2 роки тому

    Good.

  • @skullleeep4742
    @skullleeep4742 2 роки тому +4

    Hey, I am making a game with procedurally generated terrain too! I am wondering how you made the roads, because I have been trying to do something like that for about a day now. Can't find anything on it though. Would be really helpful if you can guide me through the process or give me some tips as to how you made the road

    • @WindBendsSteel
      @WindBendsSteel  2 роки тому +4

      I coded something that stores spline data into a texture, sends it to a shader that computes the signed distance from the spline, blends the terrain height to the road height using the signed distance, and generates a final heightmap with a road uv ready to map the road texture, this heightmap is sent to the final terrain shader that manipulates the vertices of the terrain. Another algorithm reads the heightmap to generate collision.

    • @skullleeep4742
      @skullleeep4742 2 роки тому +2

      @@WindBendsSteel That's a very good way of doing it! I will try making something similar. Thanks for the help! :)

    • @MirazhStyle
      @MirazhStyle 5 місяців тому

      @@WindBendsSteelHello! Any chance that this spline roads is a part of Advanced Vehicle Physics?)

  • @matejmedved5823
    @matejmedved5823 2 роки тому +1

    Nice work keep it up

  • @maniksharma9736
    @maniksharma9736 2 роки тому

    Noice...👍

  • @BlenderAutomotiveModeling
    @BlenderAutomotiveModeling 2 роки тому +1

    Looks good.
    How did you get the tire/skid marks?

  • @maniksharma9736
    @maniksharma9736 2 роки тому +1

    Add some tree and make the road thickkk

  • @FillInTheBlack
    @FillInTheBlack 2 роки тому

    mind if i get a peek at the source code? im looking to make a infinite driver game

    • @WindBendsSteel
      @WindBendsSteel  2 роки тому

      The source code for what?
      Maybe we could join forces in this project and share some revenue?