keijiro / Skinner

Special Effects with Skinned Mesh in Unity
MIT License
3.36k stars 414 forks source link

Glitchy Shaders when instancing at run-time #20

Closed Swoboderz closed 6 years ago

Swoboderz commented 6 years ago

if you create a prefab that holds your trail object and the actual object itself into aa container. then spawn those two containers it seems as though the shader is running both Synchronously as I see it jump back and forth between the moving objects. https://youtu.be/Lvn_YEMjVCo

keijiro commented 6 years ago

I think you're trying to make a trail effect with a non-skinned mesh object. If so, I'd recommend using the standard effect components (like ParticleSystem or LineRenderer) instead, because Skinner is much slower and less memory-efficient than these components.

keijiro commented 6 years ago

I'm closing this issue now. Please feel free to reopen for further questions.