Тёмный
No video :(

Stylized Grass in 5 Minutes // Godot 4 Tutorial 

StayAtHomeDev
Подписаться 40 тыс.
Просмотров 47 тыс.
50% 1

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 91   
@stayathomedev
@stayathomedev Год назад
Wind mechanics coming in the next video. If helpful, leave a like or subscribe! DOWNLOAD THE SHADER ►► stayathomedev.com/product/stylized-grass-shader/ DOWNLOAD GRASS MESH ►► stayathomedev.com/product/stylized-grass-mesh/
@FrizyOficial
@FrizyOficial 11 месяцев назад
where's the next video?
@CyricRO
@CyricRO 10 месяцев назад
come on, it's been 4 months!
@ohiasdxfcghbljokasdjhnfvaw4ehr
@ohiasdxfcghbljokasdjhnfvaw4ehr 5 месяцев назад
you forgot to make part 3
@Baeso66
@Baeso66 5 месяцев назад
he forgor 💀
@EvanPilb
@EvanPilb Месяц назад
bro frogot
@GabrielRodriguez-mq6ly
@GabrielRodriguez-mq6ly 2 месяца назад
Try not to use if statements in shaders, they can lead to branching which hurts performance. In this specific case, use: NORMAL = NORMAL * (FRONT_FACING*2 - 1); this avoids branching and has the same result.
@EvanPilb
@EvanPilb Месяц назад
nuh uh that not good
@GabrielRodriguez-mq6ly
@GabrielRodriguez-mq6ly Месяц назад
@@EvanPilb would you like to elaborate?
@YannAbdel
@YannAbdel Год назад
Please make terrain next
@etherweb6796
@etherweb6796 Год назад
Terrain in Godot without a plugin is nontrivial
@George-bc7ej
@George-bc7ej Год назад
there is a super good terrain add on, but I forgot the name.
@rakeshchowdhury202
@rakeshchowdhury202 Год назад
I watched Unreal and Unity Tutorials, never found a good Godot tutorial. This is really great work. Please create more videos like this Small clips / Series in specific niche topics. Like Stylized Grass, Cool Animations, Procedural Character Parts etc.
@stayathomedev
@stayathomedev Год назад
Awesome! Thanks! It's always a fight between slow and all encompassing vs short and to the point. This one was the later.
@bodhiiii
@bodhiiii Год назад
Thanks for the tutorial! Love the breakdown of the shader.. they are still like magic to me lol
@stayathomedev
@stayathomedev Год назад
Thanks! I do feel that once you get into how they work (vertex, pixel/fragment) and just a little bit of the graphical pipeline process, they make more sense. But obviously, you have simple shaders and really complex shaders.
@nunolopes8263
@nunolopes8263 Год назад
Wow!!! 😲 I can't believe how much I've learnt from such a short tutorial. Thanks for sharing your knowledge with the community. This is what I call a priceless tutorial. So much from this short 5min can be applied to many other case scenarios. Very clean and detailed straight to the point tutorials. I'm loving your channel's content, even the brilliant Godot song!!! 👌 Well done, man, keep the great work up. THANK YOU!!! 🙏
@agriasoaks6721
@agriasoaks6721 Год назад
Amazing video! Please make a terrain series including this kinda stuffs please
@stayathomedev
@stayathomedev Год назад
Thanks! And terrain is coming!
@MagicGameDevYT
@MagicGameDevYT 4 месяца назад
Top notch breakdown and pace, thank you
@michaeljburt
@michaeljburt 3 месяца назад
Wonderful, as usual. I watch a video like this and it reminds me why I love gamedev (especially 3D). There's so much magic in the small details. The color gradient, the noise texture, the wind. Combine that with a nice breezy audio clip and you can get some great immersion for your players.
@pixel-ink
@pixel-ink 8 месяцев назад
Thanks, this is cool. Where's the next video on this. You have made many other video's afterwards, but can't find the wind one. Thanks
@TateExon
@TateExon Месяц назад
I was hoping for the wind one as well!
@OlivierPons
@OlivierPons Год назад
With such a good work you might become the Brackeys of Godot! Keep on such awesome work it will pay sooner or later.
@patty4449
@patty4449 Месяц назад
You spoke too soon... HE CAME FOR GODOT
@OlivierPons
@OlivierPons Месяц назад
@@patty4449 Yes I came for godot, because it's about Godot :)
@MattEatsMochi
@MattEatsMochi 7 месяцев назад
I'm stumbling into this before I know much at all, my initial question is "is this performant way to do this? should I figure out a way to do this only around my player and load/unload the grass as it gets further away from the player?"
@dreamwave97
@dreamwave97 6 месяцев назад
For anyone having the issue that the grass shader shows up fine in the editor but not when previewing or exporting: For some reason, when I imported the Mesh ressource (grass.res) using "Save To File", it had 2 surfaces. Surface 1 had a white material attached to it, which didn't show up inside the editor but was visible when previewing. Removing this material (click on the arrow right next to it -> Clear) solved the issue!
@alejandromontalvo9115
@alejandromontalvo9115 Год назад
Do you still plan on making another video covering wind mechanics for the grass? I've being trying to adapt 3.x shader code but I keep running into problems 😅
@DeathMothhh
@DeathMothhh 7 месяцев назад
maybe make it an animation instead? plays every few seconds.
@InvalidationX145
@InvalidationX145 6 месяцев назад
@@DeathMothhh Wonder if it's possible to add random variation or noise to the animation itself? Just tossing ideas around.
@BasementStudi0s
@BasementStudi0s 6 месяцев назад
if you want to rescale it, adjust the plane size (in the plane mesh NOT the plane transform) and then click the populate button
@user-rx3xl7zn1u
@user-rx3xl7zn1u Месяц назад
Thank you for doing this. Did the wind tutorial ever release? I don't see it in your list of videos.
@lyghtkruz
@lyghtkruz Год назад
Awesome! I had seen the multimesh instance but hadn't played with it yet to see what it did. Also I've been opening the imported scene and doing make local and then copying the mesh to other scenes. I like that you can save it via the menus to a resource.
@spaceescapeobstacles7770
@spaceescapeobstacles7770 10 месяцев назад
im looking for the wind tutorial :/ any update ?
@dibaterman
@dibaterman Месяц назад
Okay back and I can say with a strong understanding of shaders and godot shaders this video is not ridiculously simple to parse.
@silentlamb42
@silentlamb42 11 месяцев назад
Thank you for sharing you knowledge with the community! I was just looking for a way to add the same style of grass to my hobby project.
@xilix2770
@xilix2770 Год назад
Could you show a grass example using a particle emitter instead of multimesh?
@stayathomedev
@stayathomedev Год назад
Absolutely! The multimesh was a quick way to show it. When I cover the grass system setup, it'll be one of the options.
@xilix2770
@xilix2770 Год назад
@@stayathomedev Thank you
@TheMonyarm
@TheMonyarm Год назад
I think using the plugin Scatter, would also make for good grass, especially after adding some stones, and flowers too.
@omr-top
@omr-top Год назад
You are amazing, I can't wait for your video God bless you ❤
@equu497
@equu497 Год назад
You are a legend
@stayathomedev
@stayathomedev Год назад
😎👍
@Crisisdarkness
@Crisisdarkness 11 месяцев назад
Wow I am happy to find your channel, you are very good as an instructor, and you teach very useful topics, I'm grateful, you have a new subscriber, a great future awaits you
@hawkgamedev
@hawkgamedev 2 месяца назад
hey there! did you ever made part 2? I don't seem to find it xD
@adamcampbell9806
@adamcampbell9806 11 месяцев назад
where's the wind shader tutorial?
@ShinSpiegel
@ShinSpiegel Год назад
Thanks for the amazing tutorial.
@waterPsychiatrist
@waterPsychiatrist Месяц назад
"Baby want wind" - I say, pounding my fists at the table
@me551
@me551 Месяц назад
great tutorial! it really helped me. how can i make the grass move?
@scorpi0uk
@scorpi0uk 6 месяцев назад
Awesome job, so easy to follow along with. Did the wind tutorial ever materialise? (Excuse the pun ;-]) I can't seem to find it on your channel.
@vulai7793
@vulai7793 Год назад
This video is amazing. Thank you for your share.
@hackenshaw
@hackenshaw Год назад
EHMMM... how did you figure out this NORMAL = -NORMAL! Great tutorial. Thanks. Waiting for wind (and character interaction) :)
@stayathomedev
@stayathomedev Год назад
Thanks! There's a built-in variable for whether the pixel is front-facing or not in the fragment shader. If you show the backface, it keeps the frontface normal. But you want the inverse of that normal, so you make it negative, or the inverse.
@hackenshaw
@hackenshaw Год назад
@@stayathomedev I understand your explanation in the video very clearly, I just don't know how you figured that out! I haven't seen it in the documentation. I am very lazy when it comes to reading though so I might have given up too soon
@stayathomedev
@stayathomedev Год назад
Ah I got you, there was a mention in git repo somewhere of the FRONTFACING variable and I went with it. It's not the most elegant but it works
@sslaxx
@sslaxx Год назад
Elegant is a rare thing when it comes to programming games.
@ClintCarlson
@ClintCarlson 11 месяцев назад
Great tutorial. When I play the game, the grass is not colored. Other objects have their color. Any tips?
@ClintCarlson
@ClintCarlson 11 месяцев назад
Colors showed in the export just not in the Godot game preview. All good!
@Mopsie
@Mopsie Год назад
I really appreciate these videos. And I do watch them. But with all gamedev videos. everything after step 3 is magic and insanely hard to me. I want to make a game some day but I just can’t phantom how people understand what they’re doing, writing these codes and solving problems. I’m impressed and kind of sad I probably never make my own game.
@dibaterman
@dibaterman 7 месяцев назад
This was great but I feel all godot shader tutorials should come with a link to the version glsl api. I had to go through reddit to find it, but once I did it became much more doable.
@DuriniOnline
@DuriniOnline 8 месяцев назад
I followed your video tutorial and created the grass, and it looks good in the editor, but when I run my game the meshes are all white, but green in the editor. Do you have any tips to help solve this issue?
@brewsmusic
@brewsmusic 7 месяцев назад
Yo, the reason is because the model has 2 materials in it. The other one shows when you run the game. You can either remove it or make a shader that just makes it invisible because it screws with the grass if you try to for example add wind to it! So if you are gonna do that i recommend hiding it with a shader, cheers!
@CameronPenner
@CameronPenner Год назад
I'm very curious about the performance impact of that multimesh node! It's crazy to me that these days we can literally just draw thousands of grass meshes, but what is the cost of this approach?
@aerostorm_
@aerostorm_ 9 месяцев назад
Old comment, but mutlimesh is designed to have a lot of meshes by batching the draw call that is sent to the GPU. Individual MeshInstance3D nodes have to have draw calls sent one at a time. The drawback is it is treated as one object by the engine. So its always rendered when one part of the mesh is rendered.
@rhevoramirez7969
@rhevoramirez7969 6 месяцев назад
Thanks my friend
@RealJesus
@RealJesus 4 месяца назад
Can you do it but uploading a custom texture in albedo?
@nipdaboi
@nipdaboi 8 месяцев назад
I'm not sure why, but the only way I could get the shader to actually show up was to change the Render Priority to 1 instead of 0.
@user-ig5uw7oz7u
@user-ig5uw7oz7u Год назад
what happened to the next vid?
@oleksandr-petrovych
@oleksandr-petrovych Год назад
great video, thanks
@stayathomedev
@stayathomedev Год назад
Thanks for watching! Hope it's helpful
@phoenixastra4429
@phoenixastra4429 3 месяца назад
Is it possible to make grass in blender and the shade in godot later?(sorry, huge noob here lol.) I just want to make the wind/sway effect really
@fadofficialmusic
@fadofficialmusic Год назад
Why do we use that noise? I'on see any difference 😅. There's a bit of dark spots on top of the grass.. But.. does stylized games use that too? Woah!
@heckerhecker8246
@heckerhecker8246 Месяц назад
Is there another part?
@Allen2saint
@Allen2saint Год назад
Where would a person find potential collaborators for a game? I have an idea but no coding skill. I’m willing to learn but would love to work with a more senior creator if possible.
@AgnisNeZvers
@AgnisNeZvers Год назад
I think Godot lacks tutorials showing grass in a larger scope.
@user-rx3xl7zn1u
@user-rx3xl7zn1u Год назад
Is it possible to blend the base of the grass with the ground texture it "sprouts" from?
@marcorossi375
@marcorossi375 Год назад
Could you please please share the entire project folder?
@FGovernments
@FGovernments Год назад
Bääääm! AWESOME!
@alexeykurilo4381
@alexeykurilo4381 Год назад
You did a great job, thanks for this tutorial.
@RADkate
@RADkate Год назад
you technically dont even have to use multi mesh since gd4 does automatic instancing on meshes(this is the biggest feature i heard almost none mention)
@sahmus
@sahmus 10 месяцев назад
So stylised just meabs cel-shaded now?
@mrmaniac9905
@mrmaniac9905 7 месяцев назад
Can you remake this using compute shaders?
@coreyrobinson1900
@coreyrobinson1900 11 месяцев назад
🔥🔥🔥🔥🔥
@sanketsbrush8790
@sanketsbrush8790 Год назад
Yes we need good grass. but, also game must run fluently in mobile .
@mrdixioner
@mrdixioner 8 месяцев назад
Why provide links that require some kind of registration in order to download something? Provide a direct link to the resources, it will be easier for everyone.
@warsin8641
@warsin8641 9 месяцев назад
Problem is actually scaling this bigger than a simple tiny plane for me 😭
@mangounit9678
@mangounit9678 Год назад
you genuinely do not need my house address for the shader. im finding a different tutorial
@Gameworks-gt9di
@Gameworks-gt9di 2 месяца назад
I don't think this tutorial works in Godot 4.2+
@atirutwattanamongkol8806
@atirutwattanamongkol8806 Год назад
1:43 ?????
@stayathomedev
@stayathomedev Год назад
Weird audio artifact. Sorry about that.
Далее
Godot 4 and Blender: Setup and Importing // Tutorial
10:52
I Made An Endless Ocean in Godot 4
8:40
Просмотров 36 тыс.
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Просмотров 10 млн
Adding This One Thing Made my Game Look 327% Better
6:11
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 511 тыс.
Godot 4.3 is Here!
19:20
Просмотров 84 тыс.
HD-2D Style in Godot 4.1
12:57
Просмотров 50 тыс.
I Tried To Beat Minecraft Backwards
18:53
Просмотров 1,4 млн
A new way to generate worlds (stitched WFC)
10:51
Просмотров 525 тыс.
Godot 4 - Forest Night Environment From Scratch
36:48
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 315 тыс.
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Просмотров 10 млн