how to create Cel-shading in godot ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By oussama
:warning: Old Version Published before Godot 3 was released.

I am planning to use a cel-shader for my game, and I don’t know how t do that using Godot (usualy I use Blender 3D), and I can’t use the default one (not looking good on my model).

:bust_in_silhouette: Reply From: Julian Murgia

Godot provides a shading language that allows you to implement a cell-shading. I bet you can find a cell-shading shader code somewhere, which you’ll just have to rewrite for Godot’s.

Since @oussama is blender user he should be comfortable with node based shader editor that’s integrated into Godot (very similar to Blender one).

kubecz3k | 2016-02-26 18:14

As @kubecz3k said i am comfortable with the node system, but i think now or later i will use the shading languages so I think i had to do it that way.
And like @Julian mentioned I found this tutorial (using GLSL) http://www.lighthouse3d.com/tutorials/glsl-12-tutorial/toon-shading/

oussama | 2016-02-26 19:58

:bust_in_silhouette: Reply From: dragoon

Fixed material has a toon option. If it doesn’t look the way you want, you can always create a shader material and write your own shader.