dim3 Forum

Full Version: Is Cel-Shadding (toon-shading?) posible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
A popular style for Anime type games is for them to be cel-shaded (toon-shaded). And that's the look that I'm going for with this game.

So is this possible in Dim3 ?
Yes. It's certainly possible, but you will have to write the shader yourself.
Shaders are written in GLSL so you will have to learn it.
Were can I go to learn it?
Search for it on google.
I forgot what the site is called.
Just search for "GLSL shader tutorial" or something.
There's already an example toon shader in JoeFoe's shader folder. Open up JoeFoe in Animator, set the vertex shader to toon.vert and the fragment shader to either toon_color or toon_texture. toon_color will use the alternate color set to the texture, toon_texture will get that information from the texture. I'd try toon_color first.

NOTE that when you do this, you are restricting the ability to play your game on 10.4 ONLY and certain higher classes of video cards.

[>] Brian
you can fake it with solid color
Orixa Wrote:you can fake it with solid color

Sort of -- but you'll get to many gradients of shading from the lighting. The point of toon shading is to have a *small* number of gradients, which that shader does (there are 4, from high light to black with two shades in between.)

It's like how in cartoon they usually just have one or two shades -- you don't want it smooth but a jagged transition.

[>] Brian
Try texturing lines on every edge of your model.
Umm Sam, thats not what is supposed to look like Wink.
Pages: 1 2 3
Reference URL's