This was really informative and one of the best wind shaders i've found thus far
@burakm8685Ай бұрын
Great tutorial. Works really well with minecraft style voxel trees
@swayuuum3 жыл бұрын
I stumbled upon this a bit late. But if you're reading this, you rock man.
@austinwilliamsshow Жыл бұрын
This was the best wind shader I have found and WAY easier than others to figure out. Thank you so much!
@LynJuice3 жыл бұрын
Honestly underrated Channel
@kuraihikari5147 Жыл бұрын
I just wanna say, you are so talented and amazing, thank you so much for the great tutorial
@pratyushbarikdev3 жыл бұрын
This was actually pretty awesome. I was searching for something like this with vertex colors to control different parts of the tree. I think I can combine your technique with it.
@lobeyjongamedev6763 жыл бұрын
That's cool man!
@Sober-MindedYT3 жыл бұрын
@@lobeyjongamedev676 waiting for the tutorial about shader with smooth dithering transitions between LODs 🤗
@stylie473joker52 жыл бұрын
Best wind shader i've found so far simple understandable and the result is amazing thank you so much
@marcosrodriguez78583 жыл бұрын
U R AWESOME! I've been at this all day, thank you for the help!
@lobeyjongamedev6763 жыл бұрын
Thank you! My pleasure :)
@Stellarsapiens2 жыл бұрын
WOOWWWWWWWWWWW thank you so so so much. I love your teaching style, so easy to follow, perfect!❤️
@stylie473joker52 жыл бұрын
True
@Palerider10113 жыл бұрын
Fantastic! Thanks for putting this together for us.
@reetah03 жыл бұрын
amazing man, keep up the good work, you are really good. thank you so much for this
@alpha38362 жыл бұрын
Amazing shader
@sillyninja652 жыл бұрын
for the life on me i cant stay focused the second i see shader graphs
@OzzO_Official11 ай бұрын
Great tutorial, thanks!
@reputin84282 жыл бұрын
This is so cool, very informative video.
@simon.in.motion8 ай бұрын
Thanks a lot for the tutorial !
@samigo20003 жыл бұрын
Amazing!! Thanks for this tutorials!
@manfredinigamer Жыл бұрын
PRO TIP: use Object instead of World in the position nodes. This fixes a weird bug where if your moving the camera the wind seems to speed up. I'm not sure what causes this I only know that changing World to Object helped, total trial and error.
@ciixo85103 жыл бұрын
i implemented your technic in HDRP and somehow, the wind speed is dependent on The Camera Speed, can you help me with this plz!
@ciixo85103 жыл бұрын
for anyone who had the same problem, just change every "world" option on every node, including transform node to "Absolute World"!
@lobeyjongamedev6763 жыл бұрын
Sorry for my delay reply. I'm really happy you have solved this issue!!
@roydellano55103 жыл бұрын
My shader is very slow, my fps was almost cut in half, any tips to optimize it?
@lobeyjongamedev6763 жыл бұрын
Usually decrease vertices count or decrease draw call. I need profiler or frame debugger infos to know what happened in your scene.
@timothypattison18063 жыл бұрын
I think I may be having the same problem. Did you find a fix for this? After completing the shader, it looked great in the preview window of the graph but when I went back to the scene it was SUPER slow like stop animation. I tried running it in game mode but ended up with the same results. I checked the number of vertices in my model and I have 14,908 vertices in LOD 0, 7,648 vertices in LOD1, and 1,08 vertices in LOD2. I'm not sure what would be considered an absurd amount of vertices so I guess this could be the problem, although I thought a graphics card like an RTX 2080 ti could handle millions without any issues.
@timothypattison18063 жыл бұрын
So I noticed that after creating an Exe and run it the shader works fluidly with no issues. Have you tried making an executable and running it to see if it works for you as well this way? I'm still stuck as to why it is running so poorly in the Scene window of the Unity editor. If you find or have found a fix please let me know as I am currently stuck with this as well!
@timothypattison18063 жыл бұрын
LoBeyJon helped me out on this issue. If you look on your toolbar below the Scene tab you'll see an audio icon. Right next to it (in Unity 2020, I'm not sure if this is different on a different version) there is a skybox toggle, fog, and various other effects button along with a drop down arrow. Click that arrow and make sure you have always refresh turned on. This fixed the issue for me where it wasn't looking correct in the editor. I'm not sure why this isn't on by default.
@styrwirldgaming20293 жыл бұрын
@@timothypattison1806 This fixed my issue!
@aribahmed25503 жыл бұрын
Hey, umm, the PBR Master shader graph isn't supported in the newest version of urp anymore, do you have any solutions of making this in the shader graphs that urp supports?
@lobeyjongamedev6763 жыл бұрын
There should has a blank shader graph could be used.
@thatonekid7022 жыл бұрын
it's in Shader Graph -> URP -> Lit Shader Graph.
@ПавелАлексеев-р7и2 жыл бұрын
Amazing and very usefull video, thanks for it!!
@user-em9su3dd9y3 жыл бұрын
Very cool, thanks.
@mromeo723 жыл бұрын
Great tutorial, but cant get it working with 2020. There's no more PBR and the lit shader doesn't have an alpha channel. Any help?
@lobeyjongamedev6763 жыл бұрын
Hi, I tried in Unity 2020.2.7. Create a Lit Shader, in Shader Graph Editor, at the right up corner, there has a Graph Inspector, choose "Graph Settings" > check "AlphaClip". Then you will see Alpha and Alpha Clip Threshold in Fragment node.
@mromeo723 жыл бұрын
@@lobeyjongamedev676 Thanks so much! Love the tutorials. Exactly what I was looking for while working on my game. Just finished the 1st tree tutorial 2 days ago and thought wouldn't it be nice to get this great looking tree to have a wind effect. I'd say "Stop reading my mind!"" but by all means please continue!
@lobeyjongamedev6763 жыл бұрын
@@mromeo72 I'm really happy these videos could help you!
@zairepernia73073 жыл бұрын
amazing tutorial thanks a lot
@dicelite5 ай бұрын
in my scene view it looks great, but when i switch to game view the alpha clipping is not working?
@B4NTO7 ай бұрын
Really nice tutoria, however how would i take scale into account. lets say i want to scale them inside of Unity. Because going from 1.0 scale to 4 makes the leaves almost not move with high winds. can i incorporate depending on the scale
@lsd-di1em6 ай бұрын
Bro pbr graph is not showing in the shader menu. who did you do it?
@timothypattison18063 жыл бұрын
Follow Up: to previous post - I tried to resolve the slow shader issue in the Unity editor but was unable to find a solution that worked. I tried changing the material and used a simple 2d leaf material made in Photoshop instead of using a material from texture haven but this didn't change anything. I did however build an EXE and run it just to see what the results were and it runs beautifully in the executable! Does Unity just utilize the CPU when running the shader in the scene window? There must be some sort of configuration I'm missing that would cause this not to function properly in the scene window but works fluidly after creating an executable file. If anyone has any suggestions on this I would greatly appreciate it as I am currently stuck.
@lobeyjongamedev6763 жыл бұрын
Hi there! If only the leaf material animation doesn't run smooth in Unity Editor Scene Window but run normal in Unity Play mode. Maybe you should have a look at whether you checked "Always Refresh" in the drop down list right to the audio button on the nav tool bar.
@timothypattison18063 жыл бұрын
@@lobeyjongamedev676 That's all it was!!! I didn't have much time today to look around so I haven't looked up exactly what this does but you are a lifesaver! Thank-You so much for this help! Keep rocking these tutorials, they are fantastic! Oh, and also you stated that your English wasn't so good, but I think you are doing a great job! Thanks again for these tutorials.
@lodatarin30792 жыл бұрын
Thank you so much for this! this help me so much. btw, It's look like the win direction not work.
@lefrog38513 жыл бұрын
Is this game friendly?can I use many of these in a game scene?
@lobeyjongamedev6763 жыл бұрын
Of course you can with right LOD settings.
@SerGixoo3 жыл бұрын
First of all, many thanks for sharing with us this 10/10 tutorial 🙌 I was wondering... using a shader to make wind anim its actually better in terms of performance than configuring the tree to use a wind zone?
@tejasyallatti Жыл бұрын
I want to implement this shader in my university assignment, but I do not know how to use blender for the tree model. is there any way i can download the tree model?
@YuriNoirProductions11 ай бұрын
Hey Man. i know i'm late to the party...but i did this in a newer unity version it still works but i noticed that the leaves receive way smoother shadows in your version what exactly does cause that? any idea?
@Sober-MindedYT3 жыл бұрын
How do you get so smooth shadows? my leaves cast shadow on themselves so it looks like flikering garbage.
@zukakenchuashvili5913 жыл бұрын
Great tutorials! Love your channel. I would like to know why my scene has performance issues when i get close to the tree. From 60 it falls down to 15 fps when im really close to it. I remove the transperent leaf material and everything is fine. Is it that my PC is not strong enough or is there something i can do to improve performance when using this transperent leaf material? :(
@lobeyjongamedev6763 жыл бұрын
Hmmm, I think alpha test shouldn't cause your scene fall down from 60fps to 15fps. Did you use profiler to check what happened?
@jaspertucker42633 жыл бұрын
@@lobeyjongamedev676 Sorry this is much later than the previous comment, but I'm having the same issue. If I turn alpha clipping off in the shader graph, my frame rate will keep between 70 and 90. If I turn it back on (and therefore use the transparent texture), then the frame rate will drop as low as 10 when getting close to trees.
@elric73713 жыл бұрын
Good content.
@AntiCringeGames Жыл бұрын
Superb
@timothypattison18063 жыл бұрын
I followed through this tutorial along with the previous tutorial leading up to this. In the preview window the leaf movement is fluid but when I go back to the scene to see the animation in action it is really slow like stop animation. Does anyone know what would cause this? I went to Window > Rendering > Lighting to make sure it wasn't something to do with the lighting being auto generated but that is turned off. I'm sure it's not my PC specs as I just built a new PC with the following specifications: Intel I9-11900k CPU, ROG Maxiumus Hero XIII Z590 motherboard, 64 GB of DDR4-4266 RAM, RTX 2080ti graphics card, and I have the software installed on a Samsung 970 EVO Plus M.2 drive. I checked the number of vertices in my model and I have 14,908 vertices in LOD 0, 7,648 vertices in LOD1, and 1,08 vertices in LOD2. I'm not sure what would be an absurd amount of vertices for the shader graph to handle so I don't know if this is the issue I'm having or if it is some sort of setting that I need to change within Unity. I also took a look at the computers resources and there isn't any funky usage to speak of. only utilizing 5% CPU, 24% RAM with various windows open on 3 separate monitors, no hard drive usage. Any help would be much appreciated!
@haachamachama72 жыл бұрын
This is probably too late, but I'll write this for anyone who finds this... i imagine you need to turn on "always refresh". On the top right of the scene view there's the weird icon that looks like 2 squares with a + above it. In game it should look normal either way, but unity culls shader animations in the scene window to prevent lag.
@Vitor7Goncalves9 ай бұрын
Amazing
@mohamedabdellahi47413 жыл бұрын
This type of trees can’t be scattered with terrain brush you have to drag and drop them in to the scene
@ciixo85103 жыл бұрын
i've used this shader for my HDRP Terrain Trees And It Works Perfectly
@juanmanuelperezrodriguez959 Жыл бұрын
Is this valid for 2d?
@SingleSapling3 жыл бұрын
Daaaaaaamnnnn dudeeeee, such a good tutorial!!!!!
@lobeyjongamedev6763 жыл бұрын
My pleasure!
@merogames34442 жыл бұрын
Global volume will not work and wont change anything
@陈雅新 Жыл бұрын
非常nice
@MrRayhonda2 жыл бұрын
Can you do this tutorial again but up to date for unity version 2021.3.1f1? They are so inconsistent it's not even funny.... I'm so sick of Unity at this point.