I am currently using AlexStv’s voxel procedural generation script and i cannot seem to work out how to change the amount of stone that is loaded in the chunk, in the script that AlexStv has provided.
The stone levels go down atleast 40 blocks below the surface which is causing major performance issues, i want to be able to reduce the number to 3-5 blocks at most. I am not a programmer but i have tried searching for the value of y that determines howe much stone is drawn when the chunk is loaded but i cannot find it.
The script is linked below and can be downloaded at the bottom of the page, if anyone can help me with this issue as im just testing if this procedural generation can perform well when the stone is reduced, thanks
I’m not familiar with that script. But a quick glance shows that it is (quite sensibly) only generating a mesh for the outermost surface of each chunk of blocks. So I wouldn’t expect the 40 levels of stone to cause any major performance issues. Are you sure that’s the problem?
(Incidentally, you can’t use something like this without being a programmer, to at least some degree. I think you’ll need to either become a programmer, or find somebody who is a programmer to help you.)
I want to become a programmer and make a sort of 3d ‘cube world’ like game but i seriously don’t know where to start, i found this script in the hopes that it would give me an example of what sort of terrain the noise creates, are there any recommendations, i want to be able to make a 3d landscape like this (https://forum.unity3d.com/attachments/06-jpg.57949/ )but i have looked at tutorials upon tutorials and none show or teach me how i can achieve something like this, i have previous programming experiences but not inside c#.
If anyone can help me with this or point me in the right direction on how to begin the process then I’d really appreciate it
Well I think you’re not likely to find a tutorial on that because it’s a pretty advanced topic. I mean, the hardest part of it is managing the chunks with the dynamic meshes — and the tutorial you found seems to do a pretty good job of that. But the rest of it is stuff that should be pretty easy by the time you’re tackling such advanced stuff.
My recommendation is to put this idea aside for six months or so, and spend that time working through other tutorials (start with the Learn link at the top of this page). You need to gain a firm grasp of C#, and well as Unity’s API, and pretty much any Unity tutorial will do that if you do it diligently. (Just skip the ones based on JavaScript or UnityScript — these are likely to just confuse you at this point.)
Ive finished the learncs course, but when i look up C# tutorial, it just covers basic things such as if statements and things that were included in the learncs course, what do you suggest i try next in order to get better at C#?
Maybe — it’s certainly a good exercise in advanced Unity coding. I really think you should revisit that in six months, after creating a half-dozen or more easier games. You’ll be in a much better position then to decide whether to roll your own or use an off-the-shelf solution (or something in between).