Experimenting with a novel technique to create 2D wind in UE5

  Рет қаралды 15,446

Ghislain Girardot

Ghislain Girardot

Күн бұрын

Пікірлер: 61
@Cloroqx
@Cloroqx 10 ай бұрын
You had to overcome so many insane things to get this working. Delaying the render capture in Niagara is a really creative solution. Respect!
@ghislaingirardot
@ghislaingirardot 10 ай бұрын
Thanks!
@shannenmr
@shannenmr 11 ай бұрын
Have you seen the GDC talk from EPIC on how they did Grass in Fortnite because of performance bottlenecks with WPO and Nanite and they used a Texture with a manually created MIP for their Wind system to be able to blend between the MIPS for control ? Its called "Battle-Testing UE5 Next-Gen Systems with Fortnite | GDC 2023".
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Yes, a great talk and using mipmaps is smart! But its actually Epic that drove me away from using Nanite =p I'm a maniac when it comes to WPO and I'm not ready yet to make sacrifices when it comes to vertex animation, even in the distance :p and I don't use VSMs so good old meshes still do the trick just fine for me
@OsaReza
@OsaReza 11 ай бұрын
If you have the link to that talk, can you please share that here?
@shannenmr
@shannenmr 11 ай бұрын
@@OsaReza Its shared on the Unreal Engine YT channel with that specific name. They also talked about to better do foliage with nanite etc.
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
@@OsaReza just have to google "Battle-Testing UE5 Next-Gen Systems with Fortnite | GDC 2023" kzbin.info/www/bejne/ZmapdJ2Hh5JgicU
@OsaReza
@OsaReza 11 ай бұрын
@@ghislaingirardot I apologize, I did not read the whole text. I was very eager to know more about that conference. I am new to technical art and am constantly gathering more information to learn more about it. thank you for the wonderful content you produce.
@wttrlabs
@wttrlabs 11 ай бұрын
Been waiting for this one! Amazing stuff as always!
@now_ever
@now_ever 11 ай бұрын
It's like watching "Insane engineering of Boeing" or something like that. Crazy stuff :)
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Hmmm Boeing are not doing too great atm, engineering wise... What does that say? =p
@AzguardMK
@AzguardMK 11 ай бұрын
... AMAZING RESULT !!! absolutely the best in-depth videos on UE ...
@AidanDesigns
@AidanDesigns 11 ай бұрын
The results are simply phenomenal!
@stevens3d
@stevens3d 11 күн бұрын
Do you think it could be possible to create a wind blueprint for the hair groom physic ? With a Niagra Custom solver ? And add some controls about the wind direction, noise, strength ? It would be a game changer for me
@BecineStudio
@BecineStudio 2 ай бұрын
Man dropped the best tutorial of grass wind as it was nothing! Trully amazing
@ghislaingirardot
@ghislaingirardot 2 ай бұрын
Ty!
@VisualTechArt
@VisualTechArt 10 ай бұрын
Good stuff! :D
@pubudu781
@pubudu781 9 ай бұрын
Awesome video, thank you so much, however this may be totally unrelated, but what's your VSCode theme ? Looks really cool.
@ghislaingirardot
@ghislaingirardot 9 ай бұрын
Thanks. It says "Material Community Darker" :shrug: I don't even remember changing the theme tbh :D
@pubudu781
@pubudu781 9 ай бұрын
@@ghislaingirardot Ohhh thanks ☺. Another question, i actually really like working on shaders like this mainly, i'm familiar with basic math and thigs i need for that, recently i thought of improving my skills further and trying out HLSL, got any recommendations about that ? any course of anything else i should learn before that ? My plan is to become a technical artist one day, hopefully I'm on the right path. again, thank you very much for sharing your knowledge with everyone.
@ghislaingirardot
@ghislaingirardot 9 ай бұрын
​@@pubudu781 There's no need to take a course to learn HLSL honestly. It's probably the simplest scripting language out there with GLSL and you'll realize that soon enough if you give a try. It may seem daunting at first but there's not much to it really: float, float2, float3, float4, for loops, texture samplers (UE specific), sin(), cos(), floor(), ceil(), round(), saturate() and you can build pretty much any shader you want👍 Try converting simple maths you made with nodes with a custom HLSL node first and go from there.
@pubudu781
@pubudu781 9 ай бұрын
@@ghislaingirardot Oh wow, that's really good to know, Thank you so much for your advise.
@yonjuunininjin
@yonjuunininjin 11 ай бұрын
And in the next video I show you how I throw everything away, because I want the player to interactive with the grass, so I used a fluidsimulation on top of this system. Then I realized how little impact this system had compared to the fluidsim and I replaced the default grass behavior with a simple sine way. Well, that's what I did at least, I'm curious how you handle player interaction. I did try the God of War technique and created some interesting textures in substance designer that took into account that grass bends faster when the wind blows and moves back slower when getting back. I'm very curious if you will come to the same conclusion with your technique when it comes to player interactivity!
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
You should be able to benefit from both worlds. The fluid sim should in principle be quite limited in space to have enough resolution and only be the cherry on top, so a fallback solution is always kinda required imho, and it should be complementary to the fluid sim in a way that doesn't make one or the other system be completly redundant/useless. And reverting back to simple sines sounds... meeehh :p. But maybe I'm wrong, this is just an experiment after all. Time will tell I guess haha
@fabthtelgato4683
@fabthtelgato4683 11 ай бұрын
Merci, je regarde tout cela avec intérêt ce week-end 👍
@davidtamaslaszlo4922
@davidtamaslaszlo4922 11 ай бұрын
Well this tutorial is really not for begginers. I tried to follow it but its quite frustrating that you didnt show part of it(Like begining and the end of the construction script.. also whats in the NS scratch pad named set initial velocity and more.. ). So if I dont understand completly theres no way to follow it. Too bad i really needed something like this in my game.. :(
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
The beginning & end of the BP construction script is irrelevant, ignore it. Just something I tried on my end for something else. Ignore the scratch pad as well. I never said it was a tutorial nor that it was beginner friendly. It's just not the audience I target. There are plenty of videos out there that explain the basics, no need for me to reinvent the wheel. Feel free to check out the project files if you're having troubles re-implementing this, it's available for 10 bucks :shrug:
@davidtamaslaszlo4922
@davidtamaslaszlo4922 10 ай бұрын
Hey thank You for your answer.. Can you drop me a link where i can find the project files? Is the whole project included in that.. with all the texture maps and the grass mesh as well? @@ghislaingirardot
@williamlacrosse9389
@williamlacrosse9389 10 ай бұрын
Mais dis moi, c'est une grosse tuerie ce machin!
@Ziboo30
@Ziboo30 11 ай бұрын
Awesome. Sure you know, but Grid 2d collection let's you sample the last frame value too, could be used for your motion vectors I guess :)
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Oh, I had completely forgotten about that tbh :D! Thanks, I'll update it
@void9853
@void9853 11 ай бұрын
Thanks! If I use procedural noise for wind, will it have the same problems as textures?
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Depends on the way that noise is generated & mapped, but most likely, yes.
@brunocandia9671
@brunocandia9671 11 ай бұрын
I love this great job! THX
@MaximeMegeYthierPyrath
@MaximeMegeYthierPyrath 11 ай бұрын
When he said :"Buckle-up! ".. but I was already tightly buckled up... and I had nothing else to buckle up to ! 😰 Mec, t'es une legende!
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Haha, merci!
@swrcPATCH
@swrcPATCH 11 ай бұрын
AMAZING!!! Please continue like this!!!
@pharos5414
@pharos5414 11 ай бұрын
This is amazing and it looks really good! But what about a tree with 1 million polygons for example? If I want to animate it with your wind system, what would the performance be like? And can VSMs be applied to it? Thank you.
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
My system changes nothing to the cost of rendering millions of triangles and the huge cost of constant VSM invalidation with WPO. Keep in mind my system just outputs a texture in 0.05ms, that's it. It's up to you to sample that texture in your vertex shader however you like and create your own tree animation. A 1M tri tree is going to be expensive, period, regardless of wind animation or no wind animation.
@ultra19.shorts
@ultra19.shorts 7 ай бұрын
Salut! Ou trouver les assets d'herbe que tu utilises ? Ou un tuto qui permettraient de faire quelque chose de ressemblant. Merci beaucoup!
@ghislaingirardot
@ghislaingirardot 7 ай бұрын
Bonjour! Je les ai fait moi même sur Blender. Je ferai une vidéo sur mon process un jour ou l'autre mais tu peux probablement déjà trouver des tutos qui expliquent le procédé.
@ultra19.shorts
@ultra19.shorts 7 ай бұрын
@@ghislaingirardot honnêtement ton herbe est merveilleuse si tu peux me donner les assets ou faire un tuto ça me sauverait la vie 🙏🏼🤠
@ghislaingirardot
@ghislaingirardot 7 ай бұрын
@@ultra19.shorts Merci! Les assets sont dispos sur mon Patreon en T3 reward
@ultra19.shorts
@ultra19.shorts 7 ай бұрын
@@ghislaingirardot ok! Et ya quoi d'autre dans le T3?
@ghislaingirardot
@ghislaingirardot 7 ай бұрын
@@ultra19.shorts Tous mes travaux
@naufaldihilmi8507
@naufaldihilmi8507 5 ай бұрын
hi, is this optimize for a game or for film production only?
@duffydan26
@duffydan26 11 ай бұрын
would this effect be possible and plausible using something like leaves on trees?
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Sure. Applying wind to tree is a bit more complex though but 2D wind is just that... 2D wind. Up to you to be smart and make decent branches/leaves motion from that data
@VMP666
@VMP666 11 ай бұрын
You are an absolute GOAT. Thank you!!!!
@OMYOGofficial
@OMYOGofficial 11 ай бұрын
Best grass I have ever seen :)
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
Thanks!
@SAYRESS
@SAYRESS 3 ай бұрын
does it supports trees too?
@ghislaingirardot
@ghislaingirardot 3 ай бұрын
this doesn't 'support' anything. It's just a smart way to output a velocity texture, that's it. Up to you to come up with creative ways to use it and make your grass/trees and what not move.
@chaosordeal294
@chaosordeal294 10 ай бұрын
If you added a small selection of tiled filters randomly, it would break the repetition.
@ghislaingirardot
@ghislaingirardot 10 ай бұрын
Not sure what you mean :) Tiling isn't that obvious anyway imho, not really an issue the way I see it. Plus you can always distort UVs with another map and break the tiling easily.
@christophegirardot6313
@christophegirardot6313 10 ай бұрын
It's amazing !
@ButtercupVisuals
@ButtercupVisuals 11 ай бұрын
Too good!
@vembdev
@vembdev 11 ай бұрын
professional
@Dhieen
@Dhieen 11 ай бұрын
Yees finally
@plasid2
@plasid2 11 ай бұрын
when water simulation?
@ghislaingirardot
@ghislaingirardot 11 ай бұрын
I've done enough water stuff. See my older videos :)
Why Unreal Engine 5.5 is a BIG Deal
12:11
Unreal Sensei
Рет қаралды 1,6 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Coding Adventure: Rendering Fluids
58:41
Sebastian Lague
Рет қаралды 502 М.
Simple Global Wind in UE4 (One weird trick! Everyone hates him!)
19:01
Стыдные вопросы про Китай / вДудь
3:07:50
вДудь
Рет қаралды 1,5 МЛН
I Made a Wave Function Collapse Castle Generator in Godot
25:30
RachelfTech
Рет қаралды 86 М.
Kerbal Space Program 2 Was Murdered.
11:26
Bellular News
Рет қаралды 427 М.
How to make HD 2D Games in Unreal Engine 5
9:14
Cobra Code
Рет қаралды 23 М.
I built a NEW ENGINE  (New Rotary Design)
18:58
Integza
Рет қаралды 1,3 МЛН
semester recap - intro to game development
8:51
Tatum Fox
Рет қаралды 40
Unreal Engine Masterclass: Animate Environments The Easy Way
22:52
Josh Toonen
Рет қаралды 119 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН