Making a Simple Terrain in Godot

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

КОМЕНТАРІ • 145

  • @shadedisplayed
    @shadedisplayed Місяць тому

    Thank you so much for this tutorial! I was trying to sculpt my game map in Blender at first but didn't even consider Godot plugins. This has made the process so much easier!

  • @GoGoUpWay
    @GoGoUpWay 3 роки тому +13

    awesome! definaly need more terrain tutorials like this one

  • @Константин-о8в2й
    @Константин-о8в2й 3 роки тому +5

    Thank you man, this is the best tutorial about terrain in godot! :)

  • @wojtek_pe
    @wojtek_pe 3 роки тому +37

    Very nice! This plugin needs more tutorials like this. It's worth mentioning that CLASSIC4 can handle only 4 textures. Maybe second part about how to use MULTISPLAT16 or ARRAY? I think that painting roads, rivers, cliffs etc is also worth another tutorial. It's hard to get details right in Zylann heightmap plugin, so I am currently scaling terrain down. This also help with collisions accuracy. As for video quality, its pretty nice. I think that some music in the background would help with the background noise.

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +16

      Thanks a lot Wojtek :). Yeah I mention the 4 texture limit before setting up the textures and mention Splat16, but maybe I don't make it clear enough. My plan is indeed to make an Advanced video as well if there is interest with using Splat16 and some more advanced effects.
      Good point with the music. My video and audio skills are still a bit limited, but hopefully I'll get better.
      EDIT: Sorry went back through the video now to set up bookmarks and realised I ended cutting the part where I mention that the Classic4 only uses four textures and that there is a new Splat16 shader. My bad.

    • @Whimfoome
      @Whimfoome 3 роки тому +3

      @@KasperFrandsen Would love to see more videos on this topic!

    • @joshuablackmon939
      @joshuablackmon939 3 роки тому

      @@KasperFrandsen Hey.. But atleast it sculpts it. I can make 4 splat mats with the same terrain I hope.. Export the splat maps .. And did a simple Splat map GD to RGB the 3 other splat maps which get coded for the terrain making it 12 textures..

    • @joshuablackmon939
      @joshuablackmon939 3 роки тому

      @@KasperFrandsen it would be Intensely awesome
      Idk how much coding went into this.. But I know you can do 12 splat maps.. I mean alpha makes 16.. But basically 12 rgb
      Without clamps..
      If they main splat map is modifiable
      Then the 3 others should be..
      However
      Thank You Very much because not for the big game in making , but for the little game im making this is perfect and I can use it to make the little game me and my friend are making. Its an island based game.. So its just sand, rock,dirt, and grass. If there are road meshes I could probably blend rock and sand to make something look like a road.

    • @joshuablackmon939
      @joshuablackmon939 3 роки тому

      @@KasperFrandsen sorry my phone keyboard sucks..

  • @BrianRogers3D
    @BrianRogers3D 3 роки тому +4

    Great job Kasper! Well done and informative. Great for Godot community to have such teachers that explain it so easily. I think there is a huge demand for Open world or huge/infinite terrain tutorials. Hope to see more. subbin

  • @joshuablackmon939
    @joshuablackmon939 3 роки тому +1

    You know what this is a decent tool and it had built in slopes. I always had to add slopes so already I'm happy even with the limitation .

  • @juanmanuelcostello9510
    @juanmanuelcostello9510 3 роки тому +2

    Awesome video. We need more like this

  • @darkosxrc
    @darkosxrc Рік тому

    Amazing! Thank you very much for taking the time to make this tutorial!

  • @ZolecPalec
    @ZolecPalec 3 роки тому +2

    And there lives a happy little tree with friends.

  • @daviddalisay5317
    @daviddalisay5317 3 роки тому +1

    This is a great video, perfect for what I needed. Thanks Kasper!

  • @NycroLP
    @NycroLP 3 роки тому +2

    cant wait for 4.0

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

    Thanks for the video! Didn't know Godot could do all of that out of the box.

  • @notarobot22
    @notarobot22 3 роки тому

    great introduction to this awesome tool. thanks a bunch!

  • @Ny-kelCameron
    @Ny-kelCameron 3 роки тому +1

    Thanks so much for this.

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

    This was so helpful, thank you!

  • @Dagoon762
    @Dagoon762 3 роки тому +1

    Very good man!

  • @GTA_Mod_Dunya
    @GTA_Mod_Dunya 3 роки тому +1

    LOVE YOU SIR

  • @MasterAlbert
    @MasterAlbert 3 роки тому

    great one bro, thanks

  • @tebogokolobe9535
    @tebogokolobe9535 3 роки тому

    I love this engine!

  • @ServentofTheMostMerciful
    @ServentofTheMostMerciful 3 роки тому +2

    when I access the asset library, it just says can't connect to the host. If I import the file from the asset library website, it says some files failed to import. when I try from 3.3, the plugin adds the terrain, but it's see-through, dark grey, I can't edit it and I don't get the options to edit it after I add the data folder. PLS HELP. :(

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому

      Sorry man, I'm not sure what the issue is. I think I'd need to see some screenshots. Jump on the Godot discord channel or my Discord channel and post some screenshots and we can try to figure it out.

  • @nohcho_953
    @nohcho_953 3 роки тому

    Yeeeeeeeeees, Thanks bro awesome!!!!!

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

    thanks a bunch!

  • @c0rjnth14ns
    @c0rjnth14ns 3 роки тому +1

    Muito obrigado!

  • @joshuablackmon939
    @joshuablackmon939 3 роки тому +1

    Simple but awesome :)

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

    This is like 120 times better than Unity.. :-0

  • @973sandman
    @973sandman 3 роки тому +2

    Very nice, both the tutorial and the result 👏👏. A couple of questions, is it possible to change the terrain at runtime? (e.g. create vertical ditches if something hit the terrain). How big can a terrain be? (in meters / feet) (Eventually can you create several and merge them?)

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +2

      Thanks :). The terrain plugin does not have built in functionality for changing during runtime, but you could do it by writing a custom shader for the terrain. The maximum terrain size is 4096*4096 units, which would basically convert to meters, but you can indeed place terrains next to each other to make even bigger terrains.

    • @973sandman
      @973sandman 3 роки тому +1

      @@KasperFrandsen Thanks, I only noticed after your answer that the plugin has great documentation that answers all these questions.

  • @SuomiGameHUB
    @SuomiGameHUB Рік тому +1

    And how do I add tree meshes?

  • @wungielpolacz9232
    @wungielpolacz9232 10 місяців тому

    Hello, I've a problem. Everything other is working, but I can't paint grass. I've done everything like you. But when I paint grass, it doesn't appears on the floor. No matter how I change scale. I used your 2D grass texture. And I am using Godot 4 latest.

  • @samyarahli7614
    @samyarahli7614 3 роки тому +2

    Hey I can't find HTerrain nodes for add it, while I already installed Heightmap terrain on AssetLib, where you find it to fix this problem, Thanks!!

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +2

      After you install the addon you have to enable it in project settings before the node will show up.

  • @user-qc1mc2ly8j
    @user-qc1mc2ly8j 2 роки тому +1

    Detail-layer just says it needs a detail map. There's no option for one, only texture

  • @CosminNovac
    @CosminNovac 2 місяці тому

    Any idea how to get a NavigationRegion3D work on an HTerrain?

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

    for some reason in my project the don't have the Terrain option in Godot 4

  • @oldfallstorm3064
    @oldfallstorm3064 3 роки тому +2

    Hi, first of all great tutorial!!! But, do you have any idea when I draw the grass nothing appears even when I am right next to it? Thanks.

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +1

      No sorry, I would have to see more details. Maybe post some screenshots or a video of the issue on the godot subreddit or discord channel.

    • @oldfallstorm3064
      @oldfallstorm3064 3 роки тому +1

      @@KasperFrandsen Ok, thanks.

  • @GamingsMostAmazingSoundtracks
    @GamingsMostAmazingSoundtracks 6 місяців тому

    For some reason when I try to paint grass nothing shows up

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

    great tutorial! really helps a new user like me. Any idea how to increase the density of the grass above 10/ make it more realistic? it seems off to me.

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

      Happy if it was helpful :). Not sure you can easily increase the grass density above the max. You could either use a custom mesh that was a several blades of grass in a little bunch or edit some of the scripts that make up the terrain addon to allow it.

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

      @@KasperFrandsen that mesh idea is great, my map really looks good now because of your video. do you have any tips for a new godoter?

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

      @@dradex9562 Happy to hear it. Not sure I have any great tips, just keep trying stuff and ask for help if you run into trouble, then you'll get far :)

  • @nurwaneduardo7831
    @nurwaneduardo7831 3 роки тому +1

    Why my terrain is defrend MY toll for draw terrain is square not circle please help me how

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +1

      Sometimes it seems the tool doesn't select the brush correctly, you should just be able to click on the brush selector and select a round brush and it should work.

    • @nurwaneduardo7831
      @nurwaneduardo7831 3 роки тому +1

      @@KasperFrandsen can you make a torurial please...

  • @donut1335
    @donut1335 3 роки тому +2

    Hello sir: can godot export terrain in to iclone???

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +2

      Hi, I'm not familiar with iClone, but you can export the height maps and splatmaps for the terrain out easily to common formats. You can also convert the terrain to a mesh and use Godot's new glTF exporter to export that mesh out of Godot.

    • @donut1335
      @donut1335 3 роки тому +1

      @@KasperFrandsen um ok thank you sir. I would like you make clip to export terrain in Godot to any software such ass 3ds max or blender or maya.. ..
      Thank you.

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

    Hello, I have problem with importing textures to HTerrain. It says "The terrain does not have a HTerrainTextureSet assigned" How do I fix it? Thanks

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

      Hi Francin, sorry I haven't used the addon myself in a while, so if something isn't working as it does in this tutorial, it might be because of changes to the plugin, I'd suggest having a look in the manual or jump on the Godot discord, the developer of the plugin, Zylann, is active in there.

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

    Textures don't work, can't paint them and they are not already set on terrain, even tried changing shader type

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

      I'm sorry, I don't know why that would be in your specific case. If you keep having issues I suggest going on the Godot discord and asking for help with more details. The creator of the plugin, Zylann, is also active in there.

  • @ignitexo9700
    @ignitexo9700 10 місяців тому

    When ever I'm using the brush if I use it in a specific location of terain after moving the brush to other locations the starter height get erase automatically please help 😞😭

    • @KasperFrandsen
      @KasperFrandsen  10 місяців тому

      Hi, not really sure I can help much. Sounds like it might be a bug or something specific to your setup. Best thing to do is to jump on the Godot discord and post about it in the addons channel or log a bug on the repository.

  • @heytheremogwai
    @heytheremogwai 9 місяців тому

    can't figure out how to make it so that my character doesn't fall through this terrain

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

    Hello, I am not abble to download the textures, do you have an alternative link by any case?

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

      Sorry no, I don't know what happened with CC0 textures. I suggest finding something on polyhaven.com/ instead

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

    it does not work when playing the project the terrain disappears and there is no collision

  • @katoka143
    @katoka143 Рік тому

    does someone know if it is possible to define the terrain through a heightmap (array[x][y] = z) instead of generating it with the functions from the asset? i need to use custom written generation algorithms if anyone is wondering why i want to do this

  • @konstantinosk35
    @konstantinosk35 3 роки тому +1

    dont know why but the textures wont load it says they took to long to load

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +1

      Hmm sorry I haven't run into that. What resolution are your textures?

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

    Nice but what did you do to get the brush tool show up

  • @Константин-о8в2й
    @Константин-о8в2й 3 роки тому +3

    How to erase grass?

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +6

      Set the brush oppacity to 100% and the Detail density to 0% and you should be good to go!

    • @patentleatherkicks
      @patentleatherkicks 3 роки тому +2

      @@KasperFrandsen I couldn't figure it out, either. Thanks!!

  • @antonsimkin
    @antonsimkin 3 роки тому

    Since generating terrain you have nice shadows and I don't. I use 3.3.2.
    Hmm I did this in a new project and now it looks fine.

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

    do you know if there is a way to export the terrain for me to open it on blender? i'm finding it hard to use godot's viewer honestly and i want to add objects such as coins and things like that, i feel like it might be a lot easier in blender but i'm not sure how to export it

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

      There is an option to generate a mesh copy. Then you could export that mesh with the gltf exporter in Godot. I've never tried it but I assume it should be possible.

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

      @@KasperFrandsen awesome thanks :-)

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

    The plugin says it is unable to load probably from a programming error can I get some help?

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

      Sometimes you have to disable and re-enable the plugin in the project settings. If you are still having issues, jump on the Godot discord server or my discord server and show what errors you are getting and we can see if we can figure it out.

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

      @@KasperFrandsen ok I joined the Godot discord i'm in #plugins

  • @fire7side
    @fire7side 3 роки тому

    I saw a post somewhere that he isn't updating the terrain addon anymore and his words were that he had abandoned it. I'm looking for alternatives. I think Blender with a splatmap shader is all I could find so far.

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому

      Are you sure about that? He might not be working on it lately as I think he's concentrating on his voxel stuff, but I dont' think he's planning on abandoning it. I think he plans to update it for Godot 4.0 eventually.

    • @fire7side
      @fire7side 3 роки тому

      @@KasperFrandsen I can't find the conversation anymore, but he said it was abandoned other than fixing a few bugs. I wish I would have looked at the date, though. Maybe he changed his mind or something. I think I'll still play around with blender and a splatmap shader. It's hard to decide when we're just on the edge of Godot 4. It's not going to hurt me either way, I'm sure.

    • @ZylannMP3
      @ZylannMP3 2 роки тому +3

      @@fire7side I dedicate less time to it than before, but I haven't really abandonned it.

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

      @@ZylannMP3 Does that mean you are going to do a version for godot 4?

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

      @@fire7side eventually yes

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

    thank god you made a github with the whole project the materials are unavailable right now; I wonder what happened with the cc0 page?

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

      Hmm yeah strange. Another good alternative is polyhaven.com/

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

    How can I change the size of the plane, as I want to use it for some smaller levels?

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

      You can change the terrain size in the "Terrain" menu with the "Resize" option.

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

      @@KasperFrandsen Can I also change the number of subdivions? A smaller plane offcourse also needs less subdivions.

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

      @@jovlem the amount of subdivisions are relative to the size, so if you make a smaller terrain it will have less subdivisions. There is also a scale setting you can apply on top of everything after.

  • @antonsimkin
    @antonsimkin 3 роки тому

    For some reason when i draw cliff textures my steep rocks remain grassy and not steep rock turn rocky. It works kinda opposite.

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +1

      The angle limiter can be a bit finicky, it takes a bit of getting used to.

    • @antonsimkin
      @antonsimkin 3 роки тому

      @@KasperFrandsen Ohh it has two sliders both can be moved to the left or right. I moved them to the wrong side.

  • @DonLeeelbow667
    @DonLeeelbow667 3 роки тому

    when you reach to click the subscribe button and realize you're already subscribed...

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

    there are 8 files for the texture. How do I know which one i need?

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

      I'm sorry I don't know what you mean. You can jump on my discord or the Godot discord and show some screenshots and we can try to help you out.

  • @pharanaiton6851
    @pharanaiton6851 3 роки тому

    Does the base terrain come with a collision mesh?

  • @martinhalseprsius7902
    @martinhalseprsius7902 3 роки тому +1

    I was number 1 :-)

  • @miqdadnaduthodi7193
    @miqdadnaduthodi7193 3 роки тому

    Will the landscape have collision?

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +1

      Yes, the terrain creates a height map collider

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

    Why my map does not appear

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

      I'm sorry, but that is not much info to go on. I suggest you jump on the Godot discord server and post more detail about the issue in the plugins channel.

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

      @@KasperFrandsen thank you bro, very appreciated

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

    My terrain in godot doesnt let me to add textures :( Any tip?

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

      Sorry I wouldn't know without more information. I'd suggest you jump on the Godot discord server and post the issue with some more details and maybe a video of the problem in the plugins channel.

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

      Hey idk if you(or anybody else having this problem) still need the answer to this but I found a solution. On the right in the inspector panel there is a button that looks like a down arrow and once you click that it brings up a menu then all you need to do is click edit and all of the options you see in the video are available!

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

    Hello! I'm sorry, but why do you need such a small terrain? If for the game, then do not drive, do not fly, took two steps and is already on the other side. Have you seen terrain in the Arma game for example? There are huge sizes. And this is just a picnic area. Sorry for my English.

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

      Well you can make a bigger one. This is just a tutorial to show some basics. I think the max size of the plugin is 4096, which would be a 4 kilometer terrain and I believe it's possible to place multiple terrains next to each other if you need to go bigger than that.

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

      @@KasperFrandsen How to connect multiple landscapes? Cutting the elevation map?

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

      @@svatlin I have not set that up myself. But yeah I would think making a larger height map in another program, then cutting it into chunks for each terrain. Not sure how you'll make the texture seams perfect with the splatmaps though.

  • @MuhoAga
    @MuhoAga Рік тому

    The plugin doesn't work, why doesn't that round red thing appear?

    • @KasperFrandsen
      @KasperFrandsen  Рік тому

      The "round red thing" is probably the terrain cursor, the one you use to draw on the terrain. If you are having issues I'd suggest jumping on the Godot discord and posting more details in the #plugin channel.

    • @MuhoAga
      @MuhoAga Рік тому

      @@KasperFrandsen I'm using GLES2 so maybe that's why?

    • @MuhoAga
      @MuhoAga Рік тому

      @@KasperFrandsen and when I select Open GL Es 3, it stays on godot logo and nothing appears

    • @KasperFrandsen
      @KasperFrandsen  Рік тому

      @@MuhoAga Yeah I'm not sure the plugin supports GLES2

    • @MuhoAga
      @MuhoAga Рік тому

      @@KasperFrandsen too bad:(

  • @miyukisakiko
    @miyukisakiko 3 роки тому

    can u make river or a waterfall i dont know how to make it

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому

      Well you can use my Waterways add-on to make rivers. It's not really made for waterfalls though. github.com/Arnklit/Waterways

    • @miyukisakiko
      @miyukisakiko 3 роки тому

      @@KasperFrandsen thank you

  • @abhishek-farswan
    @abhishek-farswan 3 роки тому

    who else can't find add menu? even though i've enabled addon
    EDIT: problem solved after opening Godot again thanks. just check and uncheck enable again if you gets some iisues

  • @joshuablackmon939
    @joshuablackmon939 3 роки тому +1

    Dats a thing..

  • @EeVeE3D
    @EeVeE3D 3 роки тому +3

    Great...they should integrate this addon to Godot 4...

  • @gaminwhenimnamen1392
    @gaminwhenimnamen1392 3 роки тому

    CANT ROTATE THE SUN

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому

      You might be in Move mode. You toggle between Select, Move, Rotate and Scale modes on Q, W, E, R. You should be able to rotate in both Select and Rotate mode.

  • @antonsimkin
    @antonsimkin 3 роки тому

    "When you happy with the shape its time for texturing".
    I was not happy with the shape.

  • @logangraham2956
    @logangraham2956 3 роки тому

    definitely not the lightest of addons is it XD
    *places Hterrain into world*
    all 8 of my cpu cores:*100%*

  • @warsin8641
    @warsin8641 Рік тому

    the grass feature is hella buggy afaf

  • @favkisnexerade
    @favkisnexerade 3 роки тому +1

    be careful, this plugin doesn't support navigation

  • @nowherebrain
    @nowherebrain 3 роки тому

    did my comment get removed? rose colored glasses syndrome. it was not overwhelmingly positive so it's out?

    • @KasperFrandsen
      @KasperFrandsen  3 роки тому +3

      Hi Justin. Sorry, but I haven't removed any comments, so I don't know. I don't see any comments held for review. Please post it again if you had any feedback or critique it's very welcome. I know my tutorials are still pretty rough.

  • @hailinda9501
    @hailinda9501 Рік тому

    not clearly, why you didnt show how to download grounds, rocks and etc. Can you make it more clerly and understandably 😡😡😡

    • @KasperFrandsen
      @KasperFrandsen  Рік тому

      The links to the 4 texture sets I used are in the description.

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

    this is not begginer friendly.

  • @melihsaitkarabulut7948
    @melihsaitkarabulut7948 3 роки тому +1

    that is so useful thank you

  • @hailinda9501
    @hailinda9501 Рік тому

    where did you get file "textures_raw"