Hey everyone! To those of you who can't find the package: Unity has moved the "Show Preview Packages". You can now find it under Edit -> Project Settings -> Package Manager -> Enable Preview Packages. If you check that box, you should see preview packages in the Package Manager! :-) Stay awesome!
@mootvey4 жыл бұрын
thanks so muchhhh!!!
@wildflowerblackberry1234 жыл бұрын
Divyesh Thirukonda Hope you succeed, I have always wanted to make a game but I have definitely realized it is pretty difficult to learn with no knowledge.
@owenlaw92384 жыл бұрын
Can you make a tutorial on how to make interactive grass (grass parts when you walk through it)?
@rfxstudios94814 жыл бұрын
Hi brackeys, when I try to download the grass assets it brings me to a website where I download the assets (in a zip file), how do I then import them into unity? Much thanks👍.
@rpamungkas134 жыл бұрын
Hi, The grass assets link cannot be downloaded. :( Could you post a new link? thank you. :D
@wanderingworld7624 жыл бұрын
For those of you working in LWRP or URP, if you get shadows appearing like block, you need to use opaque mode and set alpha clip threshold to something around 0.8.
@Goathierbmw4 жыл бұрын
You are a legend
@Dedemonn14 жыл бұрын
Thanks man!
@philipphermes32373 жыл бұрын
thx
@lukeblaker56253 жыл бұрын
This also helped with the rendering of the different layers of my grass planes.
@GuyCollinsWilliam5 жыл бұрын
Thanks for all the free education!
@ConchStreetStories5 жыл бұрын
No problem 😐
@Salmanul_5 жыл бұрын
@@ConchStreetStories are you sure he said that to you?
@ConchStreetStories5 жыл бұрын
@@Salmanul_ sure, why?
@Salmanul_5 жыл бұрын
@@ConchStreetStories understandable, have a nice day
@indieprogress71705 жыл бұрын
Seriously better than paid tutorials. I learned so much from this guy. The entire RPG series was incredible.
@kpkpixelsDEV4 жыл бұрын
Hey guys! You don't need to subtract anymore in this part 12:34! You can connect the node "Combine" with "Transform" directly!
@rhapen4 жыл бұрын
it was disappearing without removing the subtract with camera thank you
@TobiDerKrasse4 жыл бұрын
thank you very much, my grass disappeared before, now it shows up correctly
@scdijkens3 жыл бұрын
This is true but since HDRP still uses camera relative rendering it produces another artifact that causes the wind noise applied to the grass to be camera relative. This artefact makes the wind effect to be faster or slower depending on how you move the camera. The work-around for this second artefact is to change the first position node that leads into the tiling and offset from Space: world into Space: absolute world.
@richardl1163 жыл бұрын
@@scdijkens thanks bro
@harrygeorge36653 жыл бұрын
what do you do with the gradient that stop the bottom of the grass from moving then ?
@frost-hex5 ай бұрын
I search for a very long time for a method that doesn't need terrain to plant moving grass, and your method works the best for me, and I don't know how to express my appreciate to you! This is truely a magnificent tutorial with detailed mechanism explanation. Thank you so much!!!!!
@kubalas6885 жыл бұрын
For the people who have problem with invisible grass: Now You must substract camera position not on the end, but on the begining, directly after first position node, before tilling and offset node. That works for me - I'm using latest available version of LWRP and Shader Graph (6.9.2.) and I don't know that fix will work in other versions.
@ragest_blender2 жыл бұрын
it works, thank you!
@oconop23108 ай бұрын
4 years later and it this fix still works! THANK YOU FOR SHARING
@XxRokuChangxX3 жыл бұрын
I love the fact that you can see the animation is made by moving layer in PS at 5:50
@Woodythehobo4 жыл бұрын
For those in Unity 2020.1 URP with a PBR master node in Shader Graph and if your grass has black areas on the mesh, then you may want to bake lighting: Window > Rendering > Lighting window > Scene tab > Click New Lighting Settings > Hook up Lighting Settings file to the Lighting Settings selector > Keep everything default for now > Uncheck Auto Generate and click Generate Lighting. May take a few minutes but it fixed the issue for me. A second way of "fixing" is in Shader Graph plug in the grass Albedo/Diffuse colour node into Emission too, the only issue with adding Emission is that shadows will be less effective on the grass, because it's essentially emitting its own light. You can visibly see the shadows move on the mesh if you select your Directional Light in the scene and rotate it.
@graysoul85163 жыл бұрын
I love how people are still shearing cool tips for unity and more! You guys are so nice!
@igorthelight5 жыл бұрын
The Force is strong with you, Darth Shader! :-)
@XanderGouws5 жыл бұрын
The one dislike is a guy that spent the last week programming the same effect in C#
@PenguinPotential5 жыл бұрын
Literally me xD I've been learning how to code shaders all weekend and this came out today
@thenicksterd23345 жыл бұрын
@@PenguinPotential wait so you disliked...?
@PenguinPotential5 жыл бұрын
No? I loved watching this. Going to use it once HDRP becomes more stable.
@thenicksterd23345 жыл бұрын
PenguinPotential it was a joke
@vwvwvwvvw61435 жыл бұрын
The guy who understands how it works now and can modify it in any part of the code and make his own ideas from scratch loool what a loser XD
@Oxmond4 жыл бұрын
Beautiful tutorial! We miss you Brackeys! 🧡🧡🧡
@ciixok72714 жыл бұрын
:')
@gianfelicelungarella26504 жыл бұрын
Hey guys, For those who are having the ! next to their node: 1) Download the last Render Pipeline from the Package Manager (HDRP and the other); 2) In asset folder and Create -> Rendering -> HDRP asset-> name it anything. 3) Goto Edit -> Project Settings -> Graphics then Drag and drop the HDRP asset (pt.2) onto the Scriptable Render Pipeline Settings. Have a nice day!
@cinnamondum Жыл бұрын
brackeys, you made this video 3 years ago but is it still one the best source of information
@ProxyDoug2 жыл бұрын
Don't you love when Unity changes how their tools look more than how they function so much it takes you double the time to follow a tutorial... Edit: With that done, here's a tip. Instead of using a gradient texture for the color, you can add two color parameters and put them on a Lerp node, then use the same step done here 14:47 to get a nice gradient in the grass object. It's specially useful if you're going for a more fantasy look and need weird looking colors like blue or red grass.
@xXnickylodeonXx3 жыл бұрын
Wow, one of the best tutorials I've ever seen. Very easy to not only follow, but actually understand the process. Thank you so much!
@DerSnubili3 жыл бұрын
Just wanted to add that as far as i can see in the newest version of unity HDRP you don´t need to subtract the camera position, just go from the transform to the position input (like in 12.12 in the video), if you do it the way shown afterwards in the video you will get some strange object placements/movements, cheers !
@theloafdude83044 жыл бұрын
AHHH we miss you brackeys
@vaskedagame8805 жыл бұрын
Ah, grass, finally, now i only need a game with grass!
@cammasgv5 жыл бұрын
Sooo true
@АндрејАнтанасковић4 жыл бұрын
Jesi napravio :D
@rcjvet4 жыл бұрын
This video was simply AMAZING. I have been searching for a way to simulate wind for my tree sprites. The shader assets available on the Unity Store simply do not work with the new URP without giving up lighting. I watched this video and applied the steps to a 2d tree sprite and voila! It worked. I can now animate all my game trees! Thank you so much for this video!!!!!
@vincent63525 жыл бұрын
can you make a tree tutorial? or just a massive envoirment tutorial with Trees, Terrain, Grass, Water, Skybox?
@jemlap5 жыл бұрын
how about use what you learned in this video and try to make it yourself? :P
@cameronjackson46525 жыл бұрын
There are some pretty good skybox tutorials out there on youtube. Try one that uses pano2vr. Also sky domes are a really good thing to use when trying to animate your sky with clouds and whatnot.
@stevanthewise72402 жыл бұрын
@@jemlap unhelpful comments b like
@mikkelkirkeby99465 жыл бұрын
Seriously love how you always smiles. Really makes me happy haha
@emcpoland4 жыл бұрын
Grass Assets can be downloaded from the following repo github.com/ThmsMsqrt/LightingStuff/tree/master/Assets/Grass%20Assets
@ndie79104 жыл бұрын
Thank you. =D
@kbdesigns12973 жыл бұрын
thanks
@vincentevil3 жыл бұрын
Thanks a lot man!
@Dylan-fj1yh3 жыл бұрын
It says Page Not Found :/
@hellovagim2 жыл бұрын
Your tutorial is awesome, straight to the point, but very clear on what the node does! Thank you!
@oivinf5 жыл бұрын
I love this and it is really helpful, but a quick note on using the "metallic" property as a map here: Only metallic objects display any sort of metallic reflection, and for organics (such as grass) it definitely should be turned off all the way ie. be black, unless you're trying to achieve a specific stylized effect. It looks like in this case it might be, but then plugging in the map is redundant in the first place, so that saves you a couple clicks every time you set this up! IIRC the metallic property is - in realistic terms - actually more of a binary effect that a material either has or doesn't have. (But of course, with something like dirty metal you would have varying degrees of metallic properties displayed across a map.)
@alexchesser52095 жыл бұрын
Oh man. I've been watching your stuff for a while now and I am completely floored by the incredible quality of these latest tutorials. I thought they were good before, but now they're just next level. Such great work. Thanks.
@guimhoff5 жыл бұрын
When a tutorial for water in Unity ? It could be very nice !
@mentorfilou5 жыл бұрын
I'm not sure, but I heard about realitistic water is still a problem for programmers.
@vinotinto85475 жыл бұрын
You can apply this vertex displacement principle to many things, including water, so you should be good to go.
@simoncodrington5 жыл бұрын
I followed a great (albeit hard towards the end) tutorial on generating meshes dynamically and then using noise to animate them. It's not shader based (so has impacts performance) but it worked a treat. kzbin.info/www/bejne/aX7SeX2qd9OhaLc
@thecubersahil68275 жыл бұрын
@@mentorfilou no ,have u seen minecraft?
@Atif_al_Abdul_Rahman4 жыл бұрын
Making a game take lot of effort, concept and time and at after work do is done it will be the most tastiest work of your life.
@lizardsempire57705 жыл бұрын
OH GOD ITS A BRACKEYS VIDEO I GOT QUIT WHAT IM DOING AND WATCH!!
@anagraphical_angel5 жыл бұрын
I was in the middle of a class... This is fine
@pegton19815 жыл бұрын
Who’s brackeys
@igorthelight5 жыл бұрын
if (Brackeys.LastVideo == NewVideo) { CurrebtJob.Terminate(); CurrentJob = Brackeys.LastVideo; }
@erikhjortsater54615 жыл бұрын
@Vedant Chaudhari Fake fan
@blaccy59914 жыл бұрын
@@nathanbunny1865 R/Wooosh
@simonzhang70085 жыл бұрын
In case you use LWRP and cant see proper grass shadow but just plane shadows: create a vector one and put it in alpha clip. Then adjust in Unity until its good. You can not hardcode the number in the PBR Graph! You need to use a vector 1 for some reason
@romaintruchard29394 жыл бұрын
thanks
@dieselgeezer185 жыл бұрын
u are the best teacher ever!
@indieprogress71705 жыл бұрын
yes!
@albingrahn55765 жыл бұрын
I was literally working on a grass shader with shader graph before I got the notification for this video! I'm already done with the blowing in the wind part myself so now I'm just trying to make the grass react to colliders so it gets trampled when you walk on it. Would be really cool if you made a video on that :)
@nikhilkadiyan48475 жыл бұрын
I smile a little when you say '..and this video is sponsored by Unity'. idk why
@kinggore29695 жыл бұрын
This channel is sponsored by Unity. This is so cool.
@darkcognitive2 жыл бұрын
The problem with this method is it's highly inefficient and the moment you scale this into a proper, full game, it's going to eat too much resources. Acerola has some excellent tutorials on grass, and other things, and discusses optimisation and the need for it, and also has a video on why most tutorials on youtube (like this one) is an extremely bad way to go about implementing grass.
@HeraldOD2 жыл бұрын
🤓
@farbencut2 жыл бұрын
@@HeraldOD He’s right tho. This method eats FPS like CRAZY
@onlyms46932 жыл бұрын
Hey do u know where i can learn the right thing for game development, i want to use unreal engine but after hear A bad tutor i skeptical and rethinking to try something. if u can help pls share a KZbin channel or video base tutuorial that i can see and follow then i Will try to modif it
@NotLordAsshat2 жыл бұрын
@@HeraldOD ? It's an important thing to note, you probably don't want to spend all of your graphical Budget on grass
@blunderguy25712 жыл бұрын
Facts
@orangelimesky4 жыл бұрын
I can see now why you're popular. You give out assets that are super useful. Because of your asset, now I know how to model a grass mesh out of intersecting planes from blender to unity. Those axes aligning are super tricky! Unfortunate you're a unity youtuber, I was constantly curious how you modeled that mesh before figuring it out that it was the axes from blender that was throwing my grass around.
@brandonlaventure80865 жыл бұрын
Hi guys, If you have a problem with materials appearing pink, this is how to fix it: After setting HDRP as render in project setting, you have to set linear workflow. For this go to Edit > Project Settings, then select the Player category, navigate to the Other Settings, open the Rendering section, and change the Color Space to Linear. Then it should work :)
@SrZarolho5 жыл бұрын
Thanks Brandon! It solved half of my problem, but i still got pink material. :c I solved it by re-importing the hdpr package and changing Standard shader to HDPR/Lit for the models that didn't need a custom shader.
@AlqueMeteor5 ай бұрын
Best mentor ever!
@ch0arrim5 жыл бұрын
Your videos are just THE best! You always makes it easy to grasp complex things in an easy way! Mindblown as always!
@BlenderEffect3 жыл бұрын
To those who try this out, it is not working in unity 2020.0f1 !!!! but its working fine in 2020.1f... without subtracting the camera position at the end. 😉
@incebaba26545 жыл бұрын
3:37 And there we gOEhHhH
@nobob85645 жыл бұрын
I didn't even know you could do that with a shader! Very awesome tutorial! Thank you!
@seddikturtle68002 жыл бұрын
Did anyone come he after watching acerola's wrong tutorial video?
@kajetanradulski92672 жыл бұрын
me :)
@LukeFlavel2 жыл бұрын
yup
@timekeeper38562 жыл бұрын
Yeah
@rivall81052 жыл бұрын
yeah :D
@aceofspades46385 жыл бұрын
This guy is awesome, I almost had a game done and published and everything from following along with his tutorials but there were a few problems that arose that actually ended up crashing everything, but that was probably user error
@theviolethuman40375 жыл бұрын
Nice vid(also first) loce your channel dude you helped me get started with unity Keep up the great work
@Making_dragons4 жыл бұрын
Brackeys gets sponsored by unity me: wait isn't you whole channel pretty much a unity ad
@VaradMahashabde5 жыл бұрын
"JOHNNY, stop watching the grass grow and help me cook GOD DAMNIT"
@sonicjason2555 жыл бұрын
I'm glad its currently spring break(even though in Florida spring/fall or autumn doesn't exist) so I can watch your vids
@gayatriprasad79375 жыл бұрын
Water physics with underground effect.
@AlanDarkworld5 жыл бұрын
Very nice tutorial and explanation. What still blows my mind though is how all of this is able to run at a high framerate. All of the texture sampling and interpolation and even mesh morphing that is going on here is crazy when you think about it - yet it runs smoothly. This shader stuff is still a bit like magic to me.
@Novia55555 жыл бұрын
3:44, At first, I'm a bit confused about how could a gradient image pull out the shape like that, so I download the asset and open the Albedo in Photoshop. I should see the channel to know that was an alpha channel that hidden. I can sleep tonight :'D
@carlitosleonidas30294 жыл бұрын
That looks very nice
@geri43675 жыл бұрын
Next step: Grass displacement based on the position of other objects of the scene :D
@danielhetrick34354 жыл бұрын
That graph is lit
@nukedboom5 жыл бұрын
I was literally looking for a tutorial on this yesterday, are you my FBI agent?
@sivapandianreffreference4 жыл бұрын
Really understands clear , great Tutorial
@anagraphical_angel5 жыл бұрын
Wow that's a lot of nodes
@totallynotabot1515 жыл бұрын
Unity's graph announcement with a giant image of the shader network and dozens of tiny nodes had me laughing. Sticking with HLSL so coworkers can actually understand what the shader is doing instead of tracing tons of nodes.
@hristoborisov37133 жыл бұрын
brackeys you are not a wizard but you are damn close to it
@murdastocks75574 жыл бұрын
The grass asset link you included might be broken...
@rickym73804 жыл бұрын
im having the same probel
@upprrdimensions8924 жыл бұрын
Yes.its broken
@asimsah3 жыл бұрын
yep
@turbokaiser3 жыл бұрын
@@asimsah if you're looking for the grass assets they're in this github :) github.com/angelsophia1/Grass-Sway good luck
@cherrythefruit15273 жыл бұрын
@@turbokaiser Thanks! :)
@simoncodrington4 жыл бұрын
Great video, wish there were more practical shader graph tutorials online like this one :)
@soonfamous5 жыл бұрын
Brackeys got the cold?
@Goblexter5 жыл бұрын
I believe he's from Scandinavia, so he's cold 9 months out of 12 and March is one of them ;)
@Goblexter5 жыл бұрын
In fact it sounds like he's talking "gangsta" now xD
@INeatFreak5 жыл бұрын
No dude cold got him
@ArnoldsKtm5 жыл бұрын
@@Goblexter I am as well and I can tell you that you don't get cold from cold weather.
@mastai76245 жыл бұрын
you are now like a star to some youtubers ,dani and me continue like that BRACKEYS 4 LIFE##
@anonanon30665 жыл бұрын
Daaamn that's so cool, i would absolutely love to somehow implement this into my game, however my whole project just fkin breaks when converting to 2018.3
@michaelc54155 жыл бұрын
hey Brackey , you guys make the best videos. hope you feel better man !. keep up the videos guys.
@saiverx4 жыл бұрын
You dont need to subtract the camera position in order to make it work in HDRP as of November 2020 :)
@yvesevrard24213 жыл бұрын
Wow thx.
@flgaming21655 жыл бұрын
I justed checked brackeys got more subs than the official unity channel
@CuriousFriend5 жыл бұрын
No one: Brackeys: 0:31
@angusmccall34005 жыл бұрын
I had no idea how to do anything with shaders. Nice tutorial
@nidavelliir5 жыл бұрын
Using one of the most advanced human inventions to render grass lmao
@1234macro5 жыл бұрын
What is one of the most advanced human inventions, now?
@namel65325 жыл бұрын
@@1234macro computer
@DoctorDoomsPvP4 жыл бұрын
G*mers BTFO
@DrazokFRN5 жыл бұрын
You shouldn't connect Position (Vector 3) into Tilling (Vector 2), because second value in wind movement will have no effect on the outcome and you're bound to 1 axis for wind direction. Instead: Position>Split>Vector 2(R & B)>Tilling Appart from this a great video :)
@01animeking5 жыл бұрын
lol this was exactly what i needed
@diptarkadas51935 жыл бұрын
same here
@theearthburner61595 жыл бұрын
Thankyou so much , I was finding this , thankyou sooooo much.No need to apologize , audio is awesome
@ewU20004 жыл бұрын
For everyone else, who doesn`t have the option flipped normals, this side helps: forum.unity.com/threads/shader-graph-lwrp-cant-use-flipped-normals.646675/
@jacklaplante31842 жыл бұрын
thank you!!
@ererbe5 жыл бұрын
tue wind Displacement part is nice
@tiehat58565 жыл бұрын
12:54 Making the weed field
@danhinchliffe76225 жыл бұрын
Yo that graph is lit
@MineXplayPL4 жыл бұрын
"Cooking with my phone using Unity 2020"
@konstantinoskarentzos99675 жыл бұрын
Very nice tutorial. One more great “in-depth” video that scratches from than the surface. Keep creating these superb and videos.
@lakshayyadav28654 жыл бұрын
I can't download the grass assets its showing a ownClowd error, brackeys please fix this
@speedfastman4 жыл бұрын
Same :^(
@lakshayyadav28654 жыл бұрын
I accidentally typed brackets lol
@FireDemon-ir5un4 жыл бұрын
hmmmm
@UnderdogDen3 жыл бұрын
itachi is that u?
@lakshayyadav28653 жыл бұрын
@@UnderdogDen ye lmao
@dfxgaming65704 жыл бұрын
You guys are best,.. Keep it up. I have learned a lot from brackeys
@manasseh1525 жыл бұрын
for me it does not work at the last step when i have connected the uv and the split then my whole object pink and before that it worked.I do not know what I did wrong because I have completed all the steps correctly
@sylvadim1227 Жыл бұрын
FOR ANYONE STRUGGLING WITH THIS IN 2023: Much of this is still relevant, but some aspects of Unity have been changed. Don't import URP from package manager. Instead start a new project using 3D URP. This will set things up better in Unity 2022 Vector 1 has been renamed to "Float" It still functions the same.
@The_Docter_Man3 жыл бұрын
The link to the grass assets in the description doesn't work :(
@opticalreticle3 жыл бұрын
:(
@bareminimum17583 жыл бұрын
:(
@KuneshFromSkalitz3 жыл бұрын
:(
@Airsickword3 жыл бұрын
:(
@reng63393 жыл бұрын
:(
@Slu21123 жыл бұрын
miss u guys
@merdanchee5 жыл бұрын
Hi Brackeys, Nice tutorials sir. I have a question: does it really effect on performance? if so, how big can we make to not to overload our pc
@xd-fu6ry2 жыл бұрын
This method is actully deeply terrible performance wise because it is calculating the perlin noise every frame and not pre computing it. It also uses geometry shaders which are in general pretty low performance. So with any real large amount of grass things are going to start chugging.
@juna16213 жыл бұрын
Oh!Your explanation is so clear, thank you very much.
@albertopress5 жыл бұрын
Hello brackeys i was trying to do this grass effects but i but i dont understand how i can do this metallic map, Thank you
@leonardofraga51305 жыл бұрын
Oh my loved God, this is exactly what I was looking for!!! Thank you, this is great!!!!!
@robberdrup20845 жыл бұрын
I have a problem my grass mesh is just purple and the texture box is not there pls help Brackeys
@TheLeontheking5 жыл бұрын
Nice visualization, and explained in a clear and straightforward manner! Thank you :)
@awaawa20225 жыл бұрын
Plz, help me... My HDRP version is 5.16.1 and when clicked create>shader, it didn't show the HDRP. And, when I tried the older version, it worked, but then the material for the grasses turned pink. If you can help me explain it clearly then that's great. By the way, I like your video so much, you explained everything clearly for me to understand. So, +1 Subscriber
it's all cool, until you don't update the deleted grass asset.
@bentongrayson3 жыл бұрын
Here's a link to the asset on Github: github.com/angelsophia1/Grass-Sway I did a bit of digging since I wanted to do this and found it. I'm actually following along right now and figured I'd read some of the comments. That's how I found yours! :)
@XCA7IBUR3 жыл бұрын
@@bentongrayson Hey, thank you so much, that's very nice from you! ❤️
@thatcherguy65303 жыл бұрын
@@bentongrayson MVP
@kristianjantz14764 жыл бұрын
Awesome tutorial, this shader graph is amazing. Feeling reminded of blender guru explaining shaders ;)
@saiverx5 жыл бұрын
Does anyone know a way of using the verticies of a mesh in order to have the grass follow the shape of the mesh? Say for instance you apply this shader to a plane and it will automatically fill the solids of the mesh with grass. I've seen Roystan post a github example of this in the old render-pipeline, but would like to see someone create it for the HDRP or the LWRP.
@trentbarta65625 жыл бұрын
Awesome tutorial! Thank you!
@nicolaspablos26735 жыл бұрын
when I open unity and place any object , it has very dark shadows...can somebody help me?
@G3KKO74 жыл бұрын
try adding scene settings
@ashdeadwood21554 жыл бұрын
You probably already figured it out but just in case anyone else sees this with the same question, if you have a directional light you can change the intensity of the shadows so they arent absolutely pitch black
@DARK_AMBIGUOUS3 жыл бұрын
This is so cool, I’m going to try to add this to my game
@cristiansebastiannavarta54195 жыл бұрын
the grass asset link is not available could you upload it?