Unity 2018 - Game VFX - Weapon Trails / Slash Tutorial

  Рет қаралды 205,837

Gabriel Aguiar Prod.

Gabriel Aguiar Prod.

Күн бұрын

Пікірлер: 139
@GabrielAguiarProd
@GabrielAguiarProd 6 жыл бұрын
*UDEMY COURSE - VFX FOR GAMES* : www.udemy.com/course/visual-effects-for-games-in-unity-stylized-explosion/?couponCode=17.99_UNTIL_20-09 *NEW SLASH* in Shader Graph: kzbin.info/www/bejne/b3_ZY2uFZ7R8pbM Quick tip for a performance improvement. Increase the value of 'Minimum Vertex Distance', in the 'Trails', since lower values generate more triangles. Cheers, have a blast!
@creationsmaxo
@creationsmaxo 4 жыл бұрын
Great tutorial in general! Obviously, as it was made in Unity 2018, there are some changes/issues if anyone is using Unity 2019 or 2020 as the particles system got a bit of an upgrade. In 2019 and 2020, to make things works as shown in the video, there are a few changes (as well of possible optimization) that has to be made. Here's a quick list of the changes and why they are necessary in 2019 and 2020: *• Change Start Speed to 0* Prior to Unity 2019, the "trail" option was, by default, only using the movement of the system to generate the particles and was ignoring the start speed. Since Unity 2019, the start speed is now active and this will make the particle active toward a direction regardless of the movement. (In other words, it's ugly.) Since 2019, setting Start Speed to 0 makes it so that any generated particles are truly at the position of the object in space during their lifetime. *• Use Rate over Distance instead of Burst & Rate over Time* This is more of an optimization than a change. Using Burst & Rate over Time means that the weapon will ALWAYS generate a trail even if it's not moving. That's approx. 80 faces per weapon (if you limit things to 40 particles) Using the "Rate over Distance" not only allow the particles to be only generated when the weapon is in movement, but it's also allow you to use fewer particles as there's far fewer chances of getting the small bits where the particles aren't enough present. It does requires a bit of changes to the lifetime. Using the settings shown in the video gives me approx 55-60 particles at a time. Using Rate over Distance (20), lifetime of 0.2-0.6 and start size of 0.05-0.2 gives me around 38 particles at most at a time. This might sound small, but that's a 30% lighter trail on the CPU and, if applicable, GPU and it's 99% lighter if the object doesn't move as particles are only generated when in movement. *• It's better to use a texture that is tiled horizontally* This is more of an artistic and technical thing, but trails works a lot better when you use a texture that is tiled horizontally. As such, it helps reduce the "jiggering" of the curved movements. For example, instead of using the default "blurry dot" particle texture, the results will be a lot better if you use either a full white square (and apply the color through the particle system) or a vertical linear gradient (if you want smoothness in the trail lines).
@G76Dev
@G76Dev 4 жыл бұрын
Thanks! This was very useful
@clssmusic
@clssmusic 4 жыл бұрын
Thanks a lot. It looked so ugly on my version and your tips helped so much!
@dueckis
@dueckis 3 жыл бұрын
Thanks, you saved me
@ramzul11
@ramzul11 Жыл бұрын
You saved me with the update info. Thanks bro
@FaebuOG
@FaebuOG 2 жыл бұрын
First Intro of a youtuber I skipped back because it was so satisfying
@Ofenkatze
@Ofenkatze 2 жыл бұрын
That woldspace tickbox in the trails module.... dude, you literally saved my sanity. Thanks so much!
@meznaneTB
@meznaneTB 4 жыл бұрын
I've taken a bunch of your tutorials, for some reason this one really stands out as one of the best. I think it's the way you describe what you're applying and why you're applying it. 10/10. Most reusable effect I have made following your tuts as well... THANKS!
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
You are welcome. Glad they helped. Enjoy :)
@alextronic4503
@alextronic4503 4 жыл бұрын
I dont know why I didnt think of a particle system rather than using the trail renderer. This is so much better
@AbdulRahman-vt4bw
@AbdulRahman-vt4bw 6 жыл бұрын
Best Channel for learn Unity Effects i really love it!
@AbsurdGameStudios
@AbsurdGameStudios Жыл бұрын
Thank you! Even in 2023 this tutorial helps!
@GabrielAguiarProd
@GabrielAguiarProd Жыл бұрын
Great! Glad to hear it!
@previll
@previll 6 жыл бұрын
Damn this is exactly what I was looking for, your tutorials are really nice. There aren't a lot of videos like these on KZbin right now.
@meenuchan7946
@meenuchan7946 3 жыл бұрын
Thank you for teaching us such an awesome trail effect using particle system. This is very useful.
@Stinger-rq4gy
@Stinger-rq4gy Жыл бұрын
Thank you. I made flame sword from this tutorial and light trails on another sword.
@GabrielAguiarProd
@GabrielAguiarProd Жыл бұрын
Nice work!
@zombievirals
@zombievirals 4 жыл бұрын
Frustrating at first due to my lack of experience with the particle system, but once I got it, wow!! This is beautiful, I can't thank you enough!!
@endaevor427
@endaevor427 6 жыл бұрын
Hey Gabriel, 'been asking you some advices for projectiles when i was still a student. I'm now working at Ubisoft ;) Good to see you going well with your channel.
@GabrielAguiarProd
@GabrielAguiarProd 6 жыл бұрын
Hey Steven. That's so awesome man, glad that I could help you out. I hope you enjoy your work at Ubisoft, couldn't be more proud.
@endaevor427
@endaevor427 6 жыл бұрын
I do enjoy it, even more!
@takacao8373
@takacao8373 Жыл бұрын
what a fairytale
@endaevor427
@endaevor427 Жыл бұрын
@@takacao8373 Not a fairytale if it's real.
@takacao8373
@takacao8373 Жыл бұрын
@@endaevor427 you're right. Do you mind writing another "fairytale"? I could really use an internship to step into the game industry...
@FrostshadowStudios0310
@FrostshadowStudios0310 4 жыл бұрын
Really nice and somewhat complicated, yet easy to follow along. Thanks for the tutorial, my friend.
@FrostshadowStudios0310
@FrostshadowStudios0310 4 жыл бұрын
Nice, friend. Now I can create a cool slash effect with a simple trail paired with a slash effect from another tutorial.
@GorasGamesStudio
@GorasGamesStudio 3 жыл бұрын
Great Tutorial, I used this to make a water effect following the flow of a river ! Thank you There are some changes in Unity 2021 but not difficult to adapt !
@davdev793
@davdev793 5 жыл бұрын
Thats pretty nice friend. I struggle a bit on particle system and vfx on unity and that helped alot. Thanks!
@amuletgames1046
@amuletgames1046 4 жыл бұрын
This is amazing..I'm really considering to take your udemy course
@petcarlson
@petcarlson Жыл бұрын
To add onto this if you speed up the simulation speed you can get even smoother lines. It does effect performance and other numbers like particle lifetime.
@Stinger-rq4gy
@Stinger-rq4gy Жыл бұрын
Thank you for makiing these
@HHungriaP
@HHungriaP 5 жыл бұрын
I Hate youtube I got the bell Active and I Never found the notification for this awesome tutorial!!
@rizaljamaludin1288
@rizaljamaludin1288 4 жыл бұрын
omg. this is very helpful. i will try to get your patreon!
@backinjin1416
@backinjin1416 4 жыл бұрын
There was a way like this !! Thank you very much
@dmtuan
@dmtuan 4 жыл бұрын
What a really, really amazing tutorial. Thank you so much for it!
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
Glad you like it!
@DJAultric
@DJAultric 5 жыл бұрын
Wipon trails!! MY favorite
@HaxzploiD
@HaxzploiD 5 жыл бұрын
lol
@rudyongkogaming8262
@rudyongkogaming8262 6 жыл бұрын
WAW This is what i want to make my games.... Thank You So MUCH.......
@aninuji8882
@aninuji8882 3 жыл бұрын
Thank you so much for this tutorial!
@IQjohnking
@IQjohnking 2 жыл бұрын
You save my life.
@Shiffo
@Shiffo 5 ай бұрын
Would you apply the same method to do a shockwave trail effect? And just swap the material / renderer with a shadergraph?
@好一杯子
@好一杯子 6 жыл бұрын
easy and short video this is what i want!
@bomfirit75
@bomfirit75 Жыл бұрын
Thx, this helped me a lot.
@GabrielAguiarProd
@GabrielAguiarProd Жыл бұрын
Glad it helped :)
@Banaaani
@Banaaani 2 жыл бұрын
My particles are rotated wrong way. Rotating the whole particle system or the shape only make the emission shape rotate instead of the particles. Plz halp
@kardokdelikaya9570
@kardokdelikaya9570 9 ай бұрын
Could you pls make a remake of this video for Unity 2023? I tried to do exactly same as you did, but my trail is just looks like fog.
@idle.observer
@idle.observer Жыл бұрын
Hello! I noticed that video is a little old. Would you recommend using Particle System for the same effect in 2023 or VFX?
@efc0s864
@efc0s864 Ай бұрын
how do you make it stay constant
@didiXxXify
@didiXxXify Жыл бұрын
Why noone on youtube never show how to import end export my fbx after done why?
@Malryni
@Malryni 6 жыл бұрын
Thank u so much! U're tutorial are awesome!
@ivan-petrovich-IV1
@ivan-petrovich-IV1 Ай бұрын
Thank you sooooooooooooooooooo much
@quvew
@quvew Жыл бұрын
NICE VIDEO!
@GabrielAguiarProd
@GabrielAguiarProd Жыл бұрын
Thanks!
@PhoenixGameplay100
@PhoenixGameplay100 6 жыл бұрын
The problem is when you swing the sword fast, it creates a very polygonal shape instead of a circle one
@fr4lty309
@fr4lty309 Жыл бұрын
I have a qeustion;: why is he using edge instead of mesh renderer?
@yuuxiao5323
@yuuxiao5323 5 жыл бұрын
When I create the glow on the sword, it doesn't align with the sword but is like a straight one (y axis). How do I fix that?
@clssmusic
@clssmusic 4 жыл бұрын
Same for me. Did you find a solution?
@thezzxc9904
@thezzxc9904 4 жыл бұрын
really cool! Nice job!!
@techbandhu5682
@techbandhu5682 5 жыл бұрын
Really awesome
@hernandon7533
@hernandon7533 5 жыл бұрын
Pretty good tutorial. It would be good if you can update it to 2019.11. Thanks a lot man!
@nunosantos8290
@nunosantos8290 4 жыл бұрын
O melhor deste canal é o facto de seres português JK
@duztine
@duztine 2 жыл бұрын
Awesome. Very helpful
@GabrielAguiarProd
@GabrielAguiarProd 2 жыл бұрын
Glad it was helpful!
@Niko_3D
@Niko_3D 3 жыл бұрын
In unity 2019 trying to follow this and it doesn't even look close to it.
@michal4736
@michal4736 4 жыл бұрын
How about performance ? How many particles is minimum to use and keep good performence? I can see that you have between 50-80 per second, did you use them just to show the effect without care about performance or it is fine ? I am just curious because I am rather new with fx and I am trying to keep up to 10 per second for the mobile games.
@outerstudios830
@outerstudios830 4 жыл бұрын
Amazing video!!!
@OmeedNOuhadi
@OmeedNOuhadi 2 жыл бұрын
Thank you for sharing!
@downthecrop
@downthecrop 2 жыл бұрын
hey thanks brother
@GabrielAguiarProd
@GabrielAguiarProd 2 жыл бұрын
No problem
@soy300
@soy300 5 жыл бұрын
helped a lot. thanks man!
@michelsantos4236
@michelsantos4236 6 жыл бұрын
Uuooooouuu show! Fantástic friend!
@mohamadthaier9660
@mohamadthaier9660 4 жыл бұрын
Thank you
@doublesob
@doublesob Жыл бұрын
so good!
@TheUnityNoob
@TheUnityNoob 4 жыл бұрын
You Are A BEAST!
@neverclickbait7066
@neverclickbait7066 3 жыл бұрын
Thanks you so much!!!!!
@Shumi_Desu
@Shumi_Desu 5 жыл бұрын
Thanks for this awesome tutorial. But why is it that my glow particles is only visible in front of the sword and not behind?
@GabrielAguiarProd
@GabrielAguiarProd 5 жыл бұрын
Try to make the box cover the whole sword, if that doesn't solve it have a look into the layers or the order in layer of the particles.
@PeladoPalta
@PeladoPalta Жыл бұрын
Use render mode box, instead of billboard
@paulrobinson5490
@paulrobinson5490 6 жыл бұрын
Very nice tutorial. Could you do a tutorial how to make a main character auto aim weapon at enemy in a mobile game, that would be amazingly helpful. Thanks for your efforts making tutorials :)
@AlanDarkworld
@AlanDarkworld 5 жыл бұрын
Nice one! Is there a way to make the particles refractive, such that it looks as if the sword creates a vacuum behind it (like in Devil May Cry)?
@GabrielAguiarProd
@GabrielAguiarProd 5 жыл бұрын
Yeah you can probably achieve something similar with Refraction also know as a Distortion Shader too. Good luck!
@ChernobylComedyAndWings
@ChernobylComedyAndWings 2 жыл бұрын
thank you so much
@elevatexd
@elevatexd 4 жыл бұрын
How did he do the black in the trail?
@Monroy518
@Monroy518 6 жыл бұрын
My trails don't make a smooth circle but a poligonal one, even though my minimal vertex is 0.01. I don't really know why, do you gys have any ideas?
@roberttorres3009
@roberttorres3009 4 жыл бұрын
How do I make the trail I created follow the animation? (IE the way you have it set up for the sword swing) My character is making a sweeping claw attack, so I would like it to follow the movements/animation of the arm as it swings across.
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
You can parent the trail to any object. In this case to the hand bone for example.
@Mr-sy7lb
@Mr-sy7lb 5 жыл бұрын
Awesome !
@ahmedsiddique2998
@ahmedsiddique2998 4 жыл бұрын
Hi, Nice tutorial I have question about performance using particle effects over trail renderer and especially for mobile applications
@creationsmaxo
@creationsmaxo 4 жыл бұрын
In terms of performances, the trail renderer has a relatively stable performance impact based on its few settings while the particles effect method can be either far more optimized (lighter on the CPU) as you can actually produce a really good result with even just half of the faces generated by the most optimized trail renderer settings, but 2 to 3 times more beautiful results... but you can also totally kill your mobile application by not setting it right. The most awesome part of the particles method is the ability to change the particles on the fly in real-time and that includes 1 little trick that works wonderfully with mobile optimization. On mobile application, the best thing to do with things like particles effect is to keep them active and present, but without particles. This is to avoid having any of their ram-cached data eaten by the Garbage Collector (GC) as, if such is the case, it will have to reload the particles data (such as the texture(s)) again which then can again be eaten by the GC and so on. Having the particle system always present and active makes the GC unable to collect and waste the data hence being faster to start again without any impact on the CPU and, if applicable, GPU. To do so, simply change the emission rate to 0 through a script. Not only will this keep the particle system "alive" and avoid filling the GC, but it will also allow any remaining particle to "finish their life" and won't make anything disappear (such as if you disable the particles system). Another thing that is cool with the particle method, for optimization, is the ability to simply reduce the number of particles if the device is low-end. This might look slightly worse, but it's the best considering you don't break the (artistic) feeling of your effect due to the device not being able to render everything. After all, it's better to have a least-beautiful effect than no effect at all. The Trail Renderer has this issue as its available options don't work well with thing like per-device optimization. The few options that allow optimization (in the trail renderer) are options you, usually, already have optimized as much as possible from the start so any further optimization usually ends up looking way too bad or broken.
@midnightspark_
@midnightspark_ 4 жыл бұрын
How could I get the electric effect shown on the blade shown first?
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
You can get it here: www.patreon.com/posts/weapon-trails-21309236
@sayori3650
@sayori3650 5 жыл бұрын
How else can i add effects without vfx?
@alnyroung705
@alnyroung705 6 жыл бұрын
I,m luck got this channel, this is so cool, can you please make the tutorial more details ? (Zoom, subs, or anything else) thanks dude Auto SUBSCRIBED! 😁
@zabuzay9869
@zabuzay9869 3 жыл бұрын
Great video! But I have one problem, when I play the sword animation the trails are there, but after 3 seconds (The life time of the particle system) they are gone. But I think that you also had the lifetime set to 3 sec, or did I miss one setting where I can like restart the particle system when the animation plays again?
@AsianIdiots323
@AsianIdiots323 3 жыл бұрын
There's an option that says "Loop" in the particle system. Enable it. Literally just that :P
@zabuzay9869
@zabuzay9869 3 жыл бұрын
@@AsianIdiots323 Thanks! I think I just didnt saw that.
@TheBikeOnTheMoon
@TheBikeOnTheMoon 4 жыл бұрын
is there an effect to leave a sword trail but with the actual sword? like leaving multiple image of the sword in a trail.
@BeerfootBandit
@BeerfootBandit Жыл бұрын
there is a tutorial by Blackthornprod that shows how to do this. What you do is instanciate a copy of the sword prefab every 0.x amount of seconds while the animation is playing, and change the transparency for each one to give it a fade effect
@halivudestevez2
@halivudestevez2 Жыл бұрын
aha! thank you! (2023)
@halivudestevez2
@halivudestevez2 9 ай бұрын
could not make it work
@manolov4074
@manolov4074 4 жыл бұрын
Very good tutorial . Good job man I really love your videos and your effort Keep it UP LIKES ++ ;
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
Thanks, will do!
@ererbe
@ererbe 6 жыл бұрын
Lol, exactly when I neede this. how did you know? xD (joke, but I really need this...) Thanks for this tutorial, I used this today to make 2 of my wepaons look very much nicer. (I added own particles, but the trails are very nice, thanks)
@GabrielAguiarProd
@GabrielAguiarProd 6 жыл бұрын
You are welcome, enjoy!
@jamesmcelroy414
@jamesmcelroy414 6 жыл бұрын
Thanks man
@TedThomasTT
@TedThomasTT 6 жыл бұрын
looks good
@hilbertsla1986
@hilbertsla1986 Жыл бұрын
thx
@omerkose8735
@omerkose8735 5 жыл бұрын
Can I implement this on 2D ?
@GabrielAguiarProd
@GabrielAguiarProd 5 жыл бұрын
Yes you can.
@omerkose8735
@omerkose8735 5 жыл бұрын
​@@GabrielAguiarProd I am thankful for your really quick answer.Your videos are awesome.Keep up the good work
@erosjagatpulagana6403
@erosjagatpulagana6403 4 жыл бұрын
hope this is still relevant, but does it work for 2D as well?
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
Yes it does.
@tahirdevlog2047
@tahirdevlog2047 6 жыл бұрын
Thanks
@timeforusjyc6056
@timeforusjyc6056 6 жыл бұрын
Awesome. auto subscribe!
@motifgaming2080
@motifgaming2080 6 жыл бұрын
Pls do that 🌽 corn effect from projectile project..
@kichul1122
@kichul1122 6 жыл бұрын
good
@mrbetatool
@mrbetatool 6 жыл бұрын
hey gabriel, do you work freelancer? I have a job for you
@GabrielAguiarProd
@GabrielAguiarProd 6 жыл бұрын
Yes I do freelance / contract work. PM me.
@Mot0Mot0
@Mot0Mot0 Жыл бұрын
W Video
@GG1440
@GG1440 6 жыл бұрын
Cool!
@andremoraes7067
@andremoraes7067 6 жыл бұрын
are you brazilian?
@GabrielAguiarProd
@GabrielAguiarProd 6 жыл бұрын
Portuguese ;)
@aodoemela
@aodoemela 5 жыл бұрын
You say weapon like whypon lol. Good video tho
@TK-sr2hz
@TK-sr2hz 4 жыл бұрын
Everytime I say weapon now I say whypon
@robertvalentic4939
@robertvalentic4939 5 жыл бұрын
"wipe-on trails"
@fabricioronison
@fabricioronison 6 жыл бұрын
Muito bom :)
@rf2642
@rf2642 5 жыл бұрын
How do you even figure this shit out?
@GabrielAguiarProd
@GabrielAguiarProd 5 жыл бұрын
It's magic!
@Dev-gp5hn
@Dev-gp5hn 5 жыл бұрын
greate tutorial guy 1 like and 1 subscribe for you thank you
@GAMEENDEDMEMES
@GAMEENDEDMEMES 4 жыл бұрын
Wifepon
@glebkrel5526
@glebkrel5526 3 жыл бұрын
Thank you for the cool video !!!
@ricogt7092
@ricogt7092 3 жыл бұрын
Thank you so much for making this tutorial
Unity 2018 - Game VFX - Shatter / Destroy  / Explode Objects Tutorial
24:01
Gabriel Aguiar Prod.
Рет қаралды 73 М.
Unity Shader Graph - Stylized Trails Tutorial
17:32
Gabriel Aguiar Prod.
Рет қаралды 226 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,7 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4 МЛН
СДЕЛАЛ ИГРУ В КОМАНДЕ ЗА 3 ДНЯ
13:12
Unity Shader Graph - Slash Shader Effect Tutorial
13:10
Gabriel Aguiar Prod.
Рет қаралды 74 М.
Particle System Trails | Unity Particle Effects | Visual FX
10:26
Abhinav a.k.a Demkeys (Demkeys)
Рет қаралды 361 М.
Unity VFX Graph - Weapon Effect Tutorial
17:31
Gabriel Aguiar Prod.
Рет қаралды 125 М.
Unity VFX Graph - Sword Slash Tutorial
16:17
Gabriel Aguiar Prod.
Рет қаралды 137 М.
6 Years of Learning Game Development
17:20
Cobra Code
Рет қаралды 205 М.
How to Procedurally Generate A Weapon Trail
3:50
Tvtig
Рет қаралды 23 М.
99% Can’t Find This Hidden Base in Minecraft Hide or Hunt
43:59
RyanNotBrian
Рет қаралды 280 М.
Cutscene in Unity 3D | Timeline in Unity | CG Aura
14:13
CG AURA
Рет қаралды 144 М.
Unity VFX - Ground Cracks | Fissure | Hole Effect Tutorial
16:38
Gabriel Aguiar Prod.
Рет қаралды 111 М.