I have a null (empty) GameObject that is the parent of a Character with a skeleton and 2 meshes (one for body and one for wings) and alot of Toon shaded materials.
How can I use iTween (or something else) to simply fade out the entire character as one thing?
At the moment I'm trying:
iTween.FadeUpdate(myCharacter,iTween.Hash("alpha", 0.0f,"time", 2.0f,"includeChildren",true));
and it doesn't work - I've also tried .FadeTo (it only happens on a particular input - that's why it's in the Update).
I read here that the material needs to be Transparent/Diffuse, but I need Toon shaded characters for my look. Surely there is a way to do this?
UPDATE TO QUESTION: (attachments don’t work in comments so I’m editing here)
Hi - very sorry for the delay in replying, hopefully you don’t mind replying and elaborating on your answer.
I am using Toon Basic and Toon Lighted for a select few surfaces.
For Toon Lighted it doesn’t work, it just turns the surface pink entirely when that “Blend” line is there.
And when I tried adding the “Blend” line after the ENDCG in the Toon Basic it DOES work - although not as I expected. See this attached image with alpha set to 50%:
It seems like I don’t want a 3D surface fade, but rather a hidden occluded fade if that makes sense? I think I don’t want internal or back facing polygons to be faded, but just front facing polys to be faded - i.e. as if it was a 2D sprite collapsed and then faded. Is that possible? thanks for your help!