How to create terrain?

WuerzelpilzWuerzelpilz Posts: 13Member
edited August 2021 in 3D

We have gridmaps, which are great if you like to reuse assets a lot but working with it is very painful since I did not found a way to replace materials or colliders once they are in the library, So I went the good ol Blender way to create my terrain.
But there is a big problem: textures. How do i add them? Once my mesh is imported I could A ) add a material to it which would be quite boring, since I want some variety in my grass pattern, a bit of dirt there, some flowers here, etc but since Godot don't have a mesh or poly or vertex painter or whatever, this wont be possible. Option B ) would be making my material in Blender too and bake everything as a UV map but that means I would end up with hundredths of UV maps in one scene, ouch performance, depending the resolution of them.... is there an option C )?

Comments

  • TwistedTwiglegTwistedTwigleg Posts: 5,348Admin

    For vertex painting, you could use VPainter.

    I'm not really sure as for an option C. I have generally made small games in Godot where I can brake the world down into small chunks and rooms, so I haven't had this issue myself really. You might be able to place some things like dirt and flowers using a Multimesh or Decals, though performance may be an issue in that case depending on how many objects you have visible at once.

  • CalinouCalinou Posts: 1,391Admin Godot Developer

    Zylann's heightmap plugin is one of the most popular options for terrain in Godot.

  • fire7sidefire7side Posts: 882Member

    This guy uses splatmaps for his terrain:

    There is also a terrain plugin:
    https://github.com/Zylann/godot_heightmap_plugin

  • WuerzelpilzWuerzelpilz Posts: 13Member
    edited August 2021

    @Calinou said:
    Zylann's heightmap plugin is one of the most popular options for terrain in Godot.

    hmm, doesn't seem to support 3.3 according to the page unfortunately. I may stick with 2D for now, this whole thing seems to be a tad overambitious

  • fire7sidefire7side Posts: 882Member
    edited August 2021

    @Wuerzelpilz said:
    hmm, doesn't seem to support 3.3 according to the page unfortunately. I may stick with 2D for now, this whole thing seems to be a tad overambitious

    I'm using smaller terrains where it's not a problem. Put in a sky and fog and it looks good. The large, open world games are generally too big for an individual and they end up looking very sparse, or just don't get finished. Just transport between scenes and save the player some boredom. It's only going to get better. There is a portal system with occlusion culling in the next imminent release. Sometimes restrictions improve creativity. I read that the terrain plugin was only going to get very minor updates, so I don't plan on using it at the moment. I might try the texture splatting. Multimesh looks really cool. I haven't tried it yet. I would say just play around with it before you make up your mind. I was impressed after reading so many comments that Godot was too slow for 3d etc. It's not Unity. I've seen comparisons, but it runs well and there are all kinds of projects that can be done with it.

  • CalinouCalinou Posts: 1,391Admin Godot Developer
    edited August 2021

    Zylann's heightmap plugin does work with Godot 3.3.x. It's just that the README is outdated. I opened a pull request to update it: https://github.com/Zylann/godot_heightmap_plugin/pull/277

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file