No video

Stylized Grass in 5 Minutes // Godot 4 Tutorial

  Рет қаралды 46,486

StayAtHomeDev

StayAtHomeDev

Күн бұрын

Пікірлер: 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
@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.
@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.
@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!!! 🙏
@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.
@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 :)
@agriasoaks6721
@agriasoaks6721 Жыл бұрын
Amazing video! Please make a terrain series including this kinda stuffs please
@stayathomedev
@stayathomedev Жыл бұрын
Thanks! And terrain is coming!
@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?
@dreamwave97
@dreamwave97 5 ай бұрын
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!
@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?"
@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!
@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.
@omr-top
@omr-top Жыл бұрын
You are amazing, I can't wait for your video God bless you ❤
@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.
@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.
@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.
@waterPsychiatrist
@waterPsychiatrist Ай бұрын
"Baby want wind" - I say, pounding my fists at the table
@equu497
@equu497 Жыл бұрын
You are a legend
@stayathomedev
@stayathomedev Жыл бұрын
😎👍
@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.
@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
@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
@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.
@spaceescapeobstacles7770
@spaceescapeobstacles7770 10 ай бұрын
im looking for the wind tutorial :/ any update ?
@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.
@ShinSpiegel
@ShinSpiegel Жыл бұрын
Thanks for the amazing tutorial.
@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.
@adamcampbell9806
@adamcampbell9806 11 ай бұрын
where's the wind shader tutorial?
@vulai7793
@vulai7793 Жыл бұрын
This video is amazing. Thank you for your share.
@hawkgamedev
@hawkgamedev 2 ай бұрын
hey there! did you ever made part 2? I don't seem to find it xD
@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.
@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.
@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.
@me551
@me551 Ай бұрын
great tutorial! it really helped me. how can i make the grass move?
@FGovernments
@FGovernments Жыл бұрын
Bääääm! AWESOME!
@rhevoramirez7969
@rhevoramirez7969 6 ай бұрын
Thanks my friend
@ClintCarlson
@ClintCarlson 10 ай бұрын
Great tutorial. When I play the game, the grass is not colored. Other objects have their color. Any tips?
@ClintCarlson
@ClintCarlson 10 ай бұрын
Colors showed in the export just not in the Godot game preview. All good!
@oleksandr-petrovych
@oleksandr-petrovych Жыл бұрын
great video, thanks
@stayathomedev
@stayathomedev Жыл бұрын
Thanks for watching! Hope it's helpful
@alexeykurilo4381
@alexeykurilo4381 Жыл бұрын
You did a great job, thanks for this tutorial.
@coreyrobinson1900
@coreyrobinson1900 11 ай бұрын
🔥🔥🔥🔥🔥
@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!
@AgnisNeZvers
@AgnisNeZvers Жыл бұрын
I think Godot lacks tutorials showing grass in a larger scope.
@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!
@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?
@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.
@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)
@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
@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?
@RealJesus
@RealJesus 4 ай бұрын
Can you do it but uploading a custom texture in albedo?
@heckerhecker8246
@heckerhecker8246 Ай бұрын
Is there another part?
@sahmus
@sahmus 10 ай бұрын
So stylised just meabs cel-shaded now?
@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.
@mrmaniac9905
@mrmaniac9905 7 ай бұрын
Can you remake this using compute shaders?
@sanketsbrush8790
@sanketsbrush8790 Жыл бұрын
Yes we need good grass. but, also game must run fluently in mobile .
@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
@atirutwattanamongkol8806
@atirutwattanamongkol8806 Жыл бұрын
1:43 ?????
@stayathomedev
@stayathomedev Жыл бұрын
Weird audio artifact. Sorry about that.
@Gameworks-gt9di
@Gameworks-gt9di 2 ай бұрын
I don't think this tutorial works in Godot 4.2+
Godot 4 and Blender: Setup and Importing // Tutorial
10:52
StayAtHomeDev
Рет қаралды 64 М.
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 311 М.
Harley Quinn's revenge plan!!!#Harley Quinn #joker
00:59
Harley Quinn with the Joker
Рет қаралды 22 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 109 МЛН
5 Games Made in Godot To Inspire You
5:06
StayAtHomeDev
Рет қаралды 15 М.
I Made An Endless Ocean in Godot 4
8:40
StayAtHomeDev
Рет қаралды 36 М.
Developing my FIRST Game
7:46
Demanding Meow
Рет қаралды 21 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4 МЛН
Making a difficult game about fitting in - Acerola Jam 0
19:17
jess::codes
Рет қаралды 343 М.
5 Games Made in Godot To Inspire You
4:14
StayAtHomeDev
Рет қаралды 54 М.
Simple Interactive Grass in Godot
13:17
Kasper Frandsen
Рет қаралды 34 М.
Godot 4 - Tiled Dungeon Environment From Scratch
26:24
DevLogLogan
Рет қаралды 408 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 432 М.
Do THIS Before You Publish Your Godot Game
3:33
StayAtHomeDev
Рет қаралды 162 М.