How I Learned Procedural Generation

How I Learned Procedural Generation

Lejynn

2 года назад

255,759 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@biswajittripathy2786
@biswajittripathy2786 - 04.11.2023 18:31

Can we make big game city using procedural generation in Unity…?

Ответить
@happy5468
@happy5468 - 21.10.2023 22:24

great stuff, i knew sebastian broke something in EP6!
It would be so nice if you had your codes linked somewhere

Ответить
@user-oq9fg7ut2i
@user-oq9fg7ut2i - 21.10.2023 16:46

Can you send your code to procedular world generation?

Ответить
@RAnG4M33
@RAnG4M33 - 18.10.2023 13:22

Fortnite devlog be like:

Ответить
@NoizzyOfficial
@NoizzyOfficial - 15.10.2023 20:23

Skybox name ?

Ответить
@jaydennyamiaka3763
@jaydennyamiaka3763 - 11.09.2023 13:34

Bro you’re mf insane ☠️ The fact that you were able to do all of this in such a short amount of time from nothing but tutorial videos is impressive. The passion, dedication, and brain this requires is wild. Great vid and keep up the amazing work 🙌🏾🙌🏾

Ответить
@kerduslegend2644
@kerduslegend2644 - 02.09.2023 19:13

Hey. I would like to know how do you handle the Shader error in 'Shader Graphs/test': 'PReferenceFragment': cannot convert from 'struct v2f surf' to 'struct SurfaceDescription' ? I've been trugling about this error for sometimes now

Ответить
@scrapp08
@scrapp08 - 12.08.2023 20:40

This is the tutorial i've been looking for, thanks so much. Would it be possible for you to share a github link to the project, as I'm trying to do something similar but having trouble integrating everything together.

Ответить
@frederickdalley7871
@frederickdalley7871 - 07.08.2023 00:36

Great tutorial! found this right after I hit a wall with the offsets and the scaling for the Perlin and it was just what i needed!

Quick Q: is the perlinNoise function symmetric in the 4 quadrants about the origin? I seem to be getting 2 lines in the noise radiating along the X&Z axes when I have the offset as (0,0). very strange

Ответить
@pastuh
@pastuh - 26.07.2023 19:44

Would be nice to see whole script ;>
I have metal detecting mechanics, but I don't know how to generate random maps..
Too much wasted time for sure :X

Ответить
@bigglesdevelopment
@bigglesdevelopment - 23.07.2023 09:07

please link the code :)

Ответить
@GammingPotato
@GammingPotato - 10.07.2023 11:32

Thank you so much, the placement generator was very helpful.!

Ответить
@national-sportswear
@national-sportswear - 29.06.2023 19:39

The most important things...1- have fun...2- have more fun....3- see a little progress....4- have fun....5- repeat 1,2,3 and 4 :D thumbs up...tweo of them :D

Ответить
@BlackJar72
@BlackJar72 - 24.06.2023 23:49

I learned by re-inventing it mostly from scratch, then practiced and tested by re-writing the Minecraft world generator in mods.

Ответить
@butfbutter6493
@butfbutter6493 - 21.06.2023 23:26

im 33 seconds in and am quite confused as it is telling me that the modifier "public" and "private" are not valid for this item any help is appreciated

Ответить
@adrianfarrow4012
@adrianfarrow4012 - 28.05.2023 03:22

Idk if you will see this but plz if you do, can you put the script for the tree gen in the description or link it Plz and Thx

Ответить
@diegovillafane6313
@diegovillafane6313 - 08.05.2023 05:47

Dude thanks, you made me realize, that I'm a programmer, not a 3d artist! <3

Ответить
@Zero-ek6qx
@Zero-ek6qx - 16.04.2023 03:23

you are gamer

Ответить
@josesimoes3478
@josesimoes3478 - 30.03.2023 10:42

I came here for procedural world generation and also got resources and jokes for free 🎉

Ответить
@equu497
@equu497 - 24.03.2023 07:33

this is an insanely well made video. I've been binging gamedev videos for about 2 weeks now but I think I'm finally ready to actually make the plunge.

Ответить
@VenturiLife
@VenturiLife - 19.03.2023 12:19

It's Rust.

Ответить
@ValeGoG
@ValeGoG - 17.02.2023 19:22

10/10

Ответить
@jamesnichols7276
@jamesnichols7276 - 13.02.2023 03:58

when i copied you noise script it says that minvalue and max value aren't defined, where did you define them?

Ответить
@liangmeng5952
@liangmeng5952 - 09.02.2023 06:01

help the code for the tree generator doesn't work for me like it's not spawning trees

Ответить
@lungomungo
@lungomungo - 09.02.2023 01:04

I noticed that u pointed out that your terrain was pixelated. You wanted to smooth out the edges so it doesn't look very sharp. I know you didn't resolve this problem, but can anyone tell me how to do this?

Ответить
@Glados44
@Glados44 - 07.02.2023 14:35

Well you are a beautifull person. I lean a lot from your videos men. Thanks for all the work!

Ответить
@niko99gaming95
@niko99gaming95 - 31.01.2023 22:53

Can you do a tutorial on shader graph?

Ответить
@envymak2254
@envymak2254 - 26.01.2023 19:19

Could you drop a link to the github for the PlacementGenerator? Or does anyone have that? Made it all the way through lagues videos still with crazy tears between chunks but fuck it I want to try to spawn trees. Sucks there's not just one comprehensive tutorial out there for how to do all of this but i guess that would take away the fun haha

Ответить
@tboxfinn
@tboxfinn - 19.01.2023 03:18

Do you have a DS server where you can help me? I'm stuck trying to use brackeys mesh generation And using it like Sebastián does

Ответить
@duhboy9782
@duhboy9782 - 14.01.2023 11:49

took one bite of shader and decided to full dive lmaoo

Ответить
@iangraham6730
@iangraham6730 - 13.01.2023 01:31

Excellent work! Thank you for sharing! Can I ask, where where did you ref your new falloff generator to get it to work??

Ответить
@johnperes
@johnperes - 05.01.2023 02:29

Saved my day, it's all I want to do for my game, thanks! :D

Ответить
@NA-jy4zd
@NA-jy4zd - 02.01.2023 17:51

How did you add a collider to the mesh? I am trying to use a raycast to place trees but the raycasts aren't hitting the terrain.

Ответить
@la-ki5wd
@la-ki5wd - 29.12.2022 04:08

how does your system know where the water is? is the water its own mesh?

Ответить
@MrB1gBadWolf
@MrB1gBadWolf - 20.12.2022 22:58

Height map falloff

public static class FalloffGenerator
{
public static float[,] Generate(Vector2Int size, float falloffStart, float falloffEnd) {
float[,] heightmap = new float[size.x, size.y];

for (int y = 0; y < size.y; y++)
{
for (int x = 0; x < size.x; x++)
{
Vector2 position = new Vector2(
(float)x / size.x * 2 - 1,
(float)y / size.y * 2 - 1
);

//find wihich value is closer to the edge;
float t = Mathf.Max(Mathf.Abs(position.x), Mathf.Abs(position.y));

if (t < falloffStart)
{
heightmap[x, y] = 1;
}
else if (t > falloffEnd)
{
heightmap[x, y] = 0;
}
else
{
heightmap[x, y] = Mathf.SmoothStep(1, 0, Mathf.InverseLerp(falloffStart, falloffEnd, t));

}

}
}

return heightmap;
}
}

Ответить
@mohammednajar6981
@mohammednajar6981 - 14.12.2022 20:56

bro i love your videos please keep going

Ответить
@bestanton14
@bestanton14 - 13.12.2022 01:47

looks cool

Ответить
@nikolatasev4948
@nikolatasev4948 - 09.11.2022 18:04

Great stuff! I'm about to start doing the same for a flight sim. Any day now...

Ответить
@ruumroom.
@ruumroom. - 09.10.2022 19:49

The terrain generation is so beautifulllllll you really made it look simple cos even a lot of sebastians code work went over my head compared to this amazing work..could you provide the source code if you wish to

Ответить
@lukiolio
@lukiolio - 29.09.2022 10:44

Great way you described your learning process!

Ответить
@DanielAttaway
@DanielAttaway - 26.09.2022 04:37

Awesome video, I'm ready for the next one!

Ответить
@TheRagingSerpent
@TheRagingSerpent - 24.09.2022 16:30

Amazing stuff, since you are going for stylized look, you may want to make all the normals of your grass mesh point directly up, this will mask the fact that they are just flat planes with a texture on them.
You can easily do this in Blender by placing a flat plane, then in your grass mesh add "data transfer" modifier and select the flat plane as the source then check the normals option.

Ответить
@elbowza
@elbowza - 23.09.2022 14:26

here before 5k

Ответить
@DBubbleTV
@DBubbleTV - 18.09.2022 16:23

great vid really enjoyed it. im guessing your adding your water manually? with planes ?

Ответить
@kentoken6918
@kentoken6918 - 18.09.2022 04:36

This video gave so much idea on how to go about making a procedural island and this doesn't only work in Unity but also in Godot...basically any game engine i think. THANK YOU SO MUCH! now i can on go work on my game

Ответить
@UsmanDev
@UsmanDev - 16.09.2022 03:19

Awesome devlog dude, I love how its a hybrid between working on your game and you showcasing how you learned it

Ответить
@Chris_t0
@Chris_t0 - 13.09.2022 07:45

what happened still doing game dev or nah?

Ответить
@meozdemir90
@meozdemir90 - 03.09.2022 23:53

Hey man great video! any chance you can share your falloffGenerator, i tried to get similar falloffend and start positions but i couldnt

Ответить