Stylized Interactive Grass Animation In Blender | Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
today we are making this really nice tized interactive animation it's really easy to make and with this you can make really cool stuff so let's add a cylinder and scale it down and stretch it like this now edit mode add some Edge Loops select the top one with the proportional adbl we just scale it the top to make it pointy like grass and rotate it as well so it is more grassy and that looks really good and Sh smooth now our grass is ready just like this one delete this now to distribute this on a plane add a plane and let's just divide the panel and switch to Geometry node editor I just feel like eating this grass selecting the plane click on a new and we have a new geometry note make sure to pin it otherwise it will run away just like like your ex-girlfriend so we'll use a note called distribute points on faces and connect it we also want our mes plane to appear with it as well so join chetry like that and connect this here okay let's move them aside let's change this to poison Disc set it to 0.05 density minimum change the numbers to 200 and now why is this looking invisible that's weird oh that's because we are in the render view let's just go back again we can see the points but we don't want the points to be used so we will use a node called instance on points and connect it here and let's bring in our grass name it grass and bring it here and now connect the geometry to the instance now it's very big so to fix it just CH it to relative and we have so many grass yay now I feel like laying on this grass but this grass is not like a grass let's give it some texture so add a material node here set material we'll change this later let's just give it this material let's just apply it right after here yeah now it's better you have to just apply it after the joint geometry let's just delete this one directly connect to the instances so so you want to know how I made this texture well that's easy let's go to the Shader editor and selecting this now what we have done is use a emission color ramp and a gradient texture connect the emission to the surface directly set the strength to 1.5 using a color ramp set it to these three colors if you want the hex code I will put in the description and connect it with a gradient texture connect it to a coordinate texture and mapping and rotate it on y by 90° so it gives you this I'll just show you the textures this is the texture I have used let me just scale them in now you can just copy the same I have shown you getting back now we need them to be a different scale for each and every one of them so add a random value we connect this to the scale right here 0.3 if you want to increase the height of your grass you can just increase this value as well but let's me just do that and now we have so many grass I would like to increase the number of crass I really want to touch this crass now so it comes our best part to animate it for that we will need a noise texture to drive that animation and connect the factor directly to the rotation so you get something like this and if you change it to 4 d and increase the W value these will animate how cool is that now the thing we want is it's all going in Direction which we don't want because it's considering both X Y and Z at the same time and it's rotated in that direction so let's just add a vector math note connect here change it to subtract so it subtracts all the value 0.5 that should do let's duplicate this one and add a position connect the position to the vector and to animate it we'll use this subtract not the W value because it skills it gives a better result result Ash frame divided by 24 I would say that's too fast let's just scale it down to one and now look at that I can even increase this that City Max 300 now before we go ahead to our special part please subscribe to my channel it's a big request all right no more crying now for this special part rotate instance and right there so let's add a sphere to our scene for now scale it down this will interact with our grass let's also bring this inside here now our sphere is here for this to work we will need geometry proximity we connect this distance to the rotation and let's connect geometry to the Target if you set to relative we get some faar result I mean that's not what we are looking for we have to find tune it a bit more for that after the geometry proximity we'll add a color ramp set the values one which are the nearest to be affected not the further so that should do for now now if you want not this effect we want them to just rotate outward of this ball let's just SL switch it because we want only the one near this to be affected so if you see if I just move it only they are going in this direction we want them to all just go outside in every direction for that we'll need some math power let's just duplicate this subtract and add position if we subtract the position of our grass with the position of our ball it will give us the distance between them we'll use this distance to align them with the vector connect this to a mix color and connect this into C1 connect the vector to the factor and we'll use a value I will tell you y later let's just set it and set this to Z and we need our radians and connect this to the B for the factor we will connect the color ramp here because we want this Vector right here to drive the mix value and connect this to the position let to change the degree to zero and we will set the value to minus and change this two points why is it not working oh my bad we need to connect it to the vector now with that connected we'll reduce the factor amount now let's just invert this so it only affects cross near the ball now connect the value to the vector and make sure the subract is connected to this vector and increase this value and you will get the result and now if you move it you see gross is going outward from all the direction if you move it anywhere on this see how cool is that now one issue is the grass is coming through it we can fix that really easily we'll just need another node called scale instances and I hope you have already guessed it correctly to make that happen we'll just need another node duplicate this color ramp connect the distance to this VOR and connect the color to the scale and just fine-tune this until we get the desired result as you can see the cross below it has scaled now if you move it there's no issue of a grass going through our object and that was a really easy technique now we are done and you can donate your money if you would like I can give you this project file but only to select few people if you give me your mail in the comments so guys have a nice day and peace out
Info
Channel: Super Normals
Views: 6,110
Rating: undefined out of 5
Keywords: blender tutorial, blender, blender tutorial for beginners, blender beginner tutorial, blender 3d, how to use blender, 3d modeling, blender tutorials, #blendertips, geometry nodes blender, #geometrynodes, blender modeling, blender geometry nodes, stylized grass blender, grass animation in blender, grass blender 3d, grass physics blender, grass texture blender, grass blender wind
Id: gZe7tB_JrhY
Channel Id: undefined
Length: 8min 24sec (504 seconds)
Published: Sun Dec 10 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.