MTomas, I have used the Toon Shader on my iOS game Running With Ninjas. I only have iPhone 4, and it works great on that. I bought the Toon Shader for the specific reason that it works on iOS.
Hi,
@beannt
“i have just resent the project file. Please take a look.”
Try to do the following :
- Set the wrap mode for all the textures you use to clamp, especially the shade texture you made.
- Do not adsust the size of the head via BeanieObjectNew Size set to 0.25 in the inspector. For some reason it produces strange results on device. Instead, select the “head” game object in the project panel ( that corresponds to the head.fbx 3d model file ) and in the inspector set its scale to 0.004. You should repeat the procedure and change the position of the “arms” too.
I did the above and it works as expected.
What happened here ? Unity does not play well with 3d model editor resizing, as noted in the docs as well. Try to obtain the desired size as described above.
As a side note : I understand that you aim for low poly but perhaps you will find that adding some vertices will not hurt your performance so much. You will likely see small performance hit for jumping from 462 tris to, say, 2000, while the visuals will greatly enhance.
MTomas : The advantages are :
-It runs on mobile
-It is fast
-It is beautiful
-Works with Orthographic cameras
-Works with Perspective cameras, with smooth line fading based on distance.
-You get a ton of examples
-You get free support ( as long as Santorini’s volcano does not explode ).
-It still has a crazy low prize, despite the fact there is no other similar solution
Try to forget OpenGL1.1, we are near 2013, it is not as relevant as it used to be
IOS 6 is here and arm6 days are gone.
toto2003 made some great suggestions, i make no commitments about release date but I work on it. Some of the new features will be added in this product, some in a new one, for desktop use only (with more advanced and GPU hungry stuff).
Yum Cha Games : Thanks for the support ![]()
Thanks to those who brought Toon Shader at number one position in Popularity at the Unity Asset Store (Textures and Materials section, among 876 assets from big companies )! Now if it was featured by Unity… It would be so great ![]()
Kind regards,
-Ippokratis
That’s awesome. But just a final question, is it possible to change the alpha value of the main color in your shader? I would love to make a blinking effect with my object but the toon shader provided by unity doesn’t support it. If it is possible, I will buy it ![]()
Yes, it does.
I forgot to mention !
Hello,
I’ve been tinkering around with your shader for a couple of days now, and I was hoping you could tell me some best practices for using textures with an Alpha channel. I’m hoping to apply your shader to trees for an environment, and want to use a texture with transparency for the leaves. I haven’t had much success with any of the versions of the shader that are denoted “alpha”
Thank you
JRMartin4u :
It is not possible to use toon shader as a vegetation shader. The later use alpha testing, the former doesn’t.
Toon shader can be used to create transparent objects like ghosts.
Hi,
I have try your suggestion but no success, because in my game the object need the scale value, so I can’t do scale directly in the mesh instead of runtime game object. I have delayed this bug since then.
Recentlty, when I upgraded to Unity 4, the bug is gone. OMG, this is a bug of Unity, and I really happy to see it fixed. I want to get you know about it to help anyone got the same bug as me.
Cheer and thank,
Hi,
beannt :
It is good to know that you have the issues addressed.
As a side note ( not related to the post above ), I often see posts suggesting using Game Objects as “folders”. It should be clear that each game object introduced in a preexisting hierarchy adds up to the number of matrix calculations that must be done ( it contains a transform component ) and since floats have inherent precision errors, making a nested hierarchy of tens of gameobjects deep, without a good reason, can lead to problems.
Hi, is this shader compatible with untiy 4? I’m gonna ugrade my game to the newest unity and I need to know if the shader will go with it.
MTomas : Yes, it is compatible with Unity 4.
Hello,
I am using your toon shader to make a 2D game for the android. So far, I’m really pleased with the results! I’m still a unity noob so this question might seem a bit silly. I was trying some early gameplay on an android phone and understandably the renders look different.
The first image is from my PC, the toon shader looks smooth and I have followed the project settings guideline that came with the toon shader package. The next 2 images are from an android phone, the outlines are noticeably not as smooth as on the PC as expected. However, is it possible to improve this in any way? The render stats show that the drawcalls gets a bit high at some point (41) which is probably not good for an android game.
As this is my first game, I am not sure when I should start thinking about performance. I was thinking that optimisation of a game comes at the last stage of develoment, is this wrong?
Thankyou in advance, I really appreciate any feedback.
Howard
Hi Howzer,
Thanks for your kind words.
From your description, I guess you should check in the quality settings that you have enabled antialiasing on device (Android). You will probably notice that settings for editor and device differ.
Outline costs 2 draw calls per object, transparent outline three per object. The number of draw calls is an indicator of resources consumption. It is also important how “heavy” each draw call is (toon shader family is lightweight), as well as how you balance resources consumption in general (memory, CPU load). I believe that once you finish your project, you will not find toon shader to be a bottleneck.
I am looking forward to see more screenshots,
-Ippokratis
Yea your shader looks so great !!
Thanks ![]()
Would you like to share some screenshots of what you come up with ?
Another one : Toon Shader for Unity 3d applied on Blade Girl NPC 1.4
I wonder why the video does not display on firefox but it displays on Chrome (Mac).
Anyway, for firefox Mac users like me, here is the link :
Toon Shader forum thread : http://forum.unity3d.com/threads/132446-Toon-Shader-Released-IOS-compatible-fast-and-beautiful
Blade Girl NPC purchase link : http://u3d.as/content/cross-road-kimys2848/blade-girl-npc-v-1-4/3Bg
Blade Girl creator blog : kimys2848님의 블로그 : 네이버 블로그
Can your shader make character sheader like Dream C Club???
http://www.renders-graphiques.fr/image/upload/normal/DreamClubSetsu.png
please take setsu 's model and use shader make it like this picture for sample
http://www.mediafire.com/?qyk5acdhoo11nj2
thank alots
oh great!!! thank a lot for help
I wiil buy your shader on sunday
PS…it have little different but I think it can fix letter
I try to make but your shader can’t make shadow T-T
please tall me how to make shadow from your shader




