This extension adds a "Toon Shader 3D" behavior for GDevelop's 3D objects (Cube 3D and Model 3D).
It applies:
- Flat cel-shading lighting (cartoon/anime style), with a configurable number of light bands
- A calibrated black outline, generated with the classic "inverted hull" technique
It fully supports animated/skinned models (glTF characters with a skeleton) — the outline follows the animation correctly instead of staying in a fixed bind pose.
Everything is configurable directly from the object's Behaviors panel, no code editing required:
- Thickness: outline thickness, in world units
- Bands: number of shading bands (2 = flat cartoon look, higher = more gradual)
- OutlineColor: outline color (defaults to black)
Just add the "Toon Shader 3D" behavior to any 3D object — the shader is applied automatically when the object is created in the scene.
ToonShader3D.zip
This extension adds a "Toon Shader 3D" behavior for GDevelop's 3D objects (Cube 3D and Model 3D).
It applies:
It fully supports animated/skinned models (glTF characters with a skeleton) — the outline follows the animation correctly instead of staying in a fixed bind pose.
Everything is configurable directly from the object's Behaviors panel, no code editing required:
Just add the "Toon Shader 3D" behavior to any 3D object — the shader is applied automatically when the object is created in the scene.
ToonShader3D.zip