how to create cel shading textures?

hey guys, i am new to Unity. i am going to be making a fps for my university final major project. i am wondering if anyone can help on how to create cel shade textures without having to buy the pro version. any existing tutorials or anything to do with cel shading would be a great help. thanks[/b]

Have you tried playing with toon shaders we ship with Unity?

  • Assets->Import Package
  • Choose the file: /Applications/Unity/Standard Packages/Toon Shading.unityPackage
    Create an object and select a toon shader from the shader dropdown in the material inspector.

Sorry, I hope this isn’t too dumb a question but maybe one of you shader experts can help!

When I put a toon shader onto an object, the BASE RGB slot is empty. So, I drag a texture into it there for the object, so that the object has a toon shader based on the texture.

The thing is, once I do that, anything else I make with a toon shader now has that very same texture on it. What I want is to have an arbitrary number of toon shaded objects, with an arbitrary number of textures.

I -suspect- I must be doing something wrong here, and that the base RGB texture must be for some other purpose than the main texutre. If I want 20 different objects with 20 different textures to have a toon shader, surely I do not have to make 20 different toon shader objects in the project file. Or?

Please help! Thanks!

Second question: Also, I notice that the toon shader draws its shading based on the camera angle relative to the object (so, if the camera moved, so does the toon shaded object’s darker shaded part). With another toon shader I used, the shaded part was drawn only in relation to a given light source, and did not move around depending on the camera angle. Is there a way to set it up to do it this way?

You don’t actually apply shaders to objects; you apply materials, which contain a shader. So just make different materials with different textures for different objects.

–Eric

Feel like a moron for asking this, but how does one do this?

1 Like

http://www.youtube.com/watch?v=3uqC58ZQC-g

This should not be so hard.
http://en.wikibooks.org/wiki/Cg_Programming/Unity/Toon_Shading

Dude, try this one:
create a material with the shader: Toon/Basic OutLine
select the texture
cubmap is: Toony Ligthing
… try with many textures… it’s cool