- Modificato
[UNITY] GHOSTING (random question)
I want to ask something,
this is just a random question..
is it possible to make a ghosting in unity using spine skeletondata? Immagine rimossa a causa della mancanza di supporto per HTTPS. | Mostra Comunque
i think it's really cool to make a shadow movement like this lol~ :rofl:
You'd need a custom shader and maybe some extra code on the Unity side.
Here ya go Been wanting this myself for a while. I'll add it to the official runtimes sooner or later - it should be pretty efficient as it is now though.
http://www.xdtech.net/spine/SkeletonGhost.unitypackage
Immagine rimossa a causa della mancanza di supporto per HTTPS. | Mostra Comunque
This is a pretty cool effect! Thanks for this!
random: proceeding, made, or occurring without definite aim, reason, or pattern.
arbitrary: not planned or chosen for a particular reason.
pseudorandom comment?
The OP wasn't asking a random question. :p
Hi, i found this ghost thing is so interesting and try to implement it on my project,
but when i use the ghost, i got a crazy increase in VBO total memory, it keeps increasing and didn't even stop or decreased
is there something i can do to fix this problem? thanks
I probably didn't clean something up... I'll take a look at it a bit later...
Hmm, I ran a quick test in Unity 4.6 and Unity 5... doesn't seem to be leaking anywhere.
Does your skeleton have multiple atlases or multiple atlas pages?
hi mitch,
i didn't use multiple atlas, though later i was gonna use it for storing any swappable equipment and armor on my character
from what i test the problem is in skeleton ghost renderer.cs, when the color alpha is 0 it should be breakout and destroy the mesh renderer.
but when i debug.log just on top of the destroy method, it didn't get logged on console. so i think maybe it didn't breakout so its not destroyed and stuck.
i was going to check on it later hope find something useful.
Ok it turns out the problem is the setting, i was using too few ghost number for a pretty fast spawn rate and slow fade time
Ah that makes sense heh. I'll add some warnings or perhaps elastic ghost count for when that happens. Good catch.