so im working on a fighting-game in unity and i want to achieve an effect like this for our weapons.
we have laser-swords that look like this, and it would be totaly epic if we could achieve a trail effect like the one shown above.
actualy it has to look somewhat like that, not exactly.
BUT it has to work on mobile.
i dont know if i could achive this with a shader mady by scrumpy´s editor, but that would be perfect cause i know that defently works on mobile.
so what it needs to do is keep a part of the last 5 or so frames rendered, blendet over the current frame.
that would be nearly perfect.
if there is no way to do that via shader i gues i´ll have to animate something like this by hand, but this is what i am trying to avoid.
also the sword i would you looks like this:
it has transparency and self-illumination.
Replies
http://unity3d.com/support/documentation/Components/class-TrailRenderer.html
author: Nick Gronow (Stick)
I've always struggled with trails. <_<
need to wait till the attack animations are done so i can tweak it the way i want it to look like.
will post screens and maby vids when i get it to shine^^
/edit never mind i am just a noob it works great but the default color should not be black with 0 alpha ! default should not be something thats invisible !
dont know yet how it will look like with proper animation, but should turn out realy cool.
here is a small test i made.
sry for the quality, youtube smashed it.
[ame="http://www.youtube.com/watch?v=dbhEoqt1htM"]trailtest.avi - YouTube[/ame]
i gues this will eat up way too much performance for phones so i´ll give cupsster´s script a chance when we go for optimizing to the max.
right now we are spitting out beauty as much as we can, for we are creating the first trailer at the moment.
worth a look