how to make that kind of toon shader?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
cr33
Posts: 22
Joined: Fri Mar 27, 2009 3:37 pm

how to make that kind of toon shader?

Post by cr33 »

Would it be possible to keep this kind of 'look' in 3d?

Image

Specifically, i mean the shading and pronounced contour.

I know about toon shaders, now what should be done to keep such 'low resolution' :P effect ?

Because, if the game would just run at say 640x480 with toon shading, it wouldn't look much like this, would it?

Certainly on big LCD's everything would be blurry and unclear... so there should be some post-effect that would 'pixelize' high resolution image, i suppose... or maybe there is other way to 'stretch' the image...

also, i know it's all sprites, but even then shading are somewhat 'scattered' (is it because of too few colors available?)

So, again, would it be possible to reproduce such look?
Squarefox2
Posts: 67
Joined: Mon Feb 02, 2009 10:19 am

Post by Squarefox2 »

Hi,

I would like to know this too, cause I want to look a game like the original Warcraft: Orcs & Humans:

Image

Greetings,
Squarefox
Valmond
Posts: 308
Joined: Thu Apr 12, 2007 3:26 pm

Post by Valmond »

IMO this is 'pixel art' not a cellshader/toonshader :)
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Using an ordinary toon shader and running your game at low resoution - 320x240, or 640x480 and you`ll get sth similar... :D
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Valmond wrote:IMO this is 'pixel art' not a cellshader/toonshader :)
the 1st I'm not sure...
the 2nd I think so, too... ;)

what he wants is something like XIII (at least I want to know, btw realy great game :lol: )
Last edited by Acki on Thu Jul 09, 2009 11:50 am, edited 1 time in total.
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
cr33
Posts: 22
Joined: Fri Mar 27, 2009 3:37 pm

Post by cr33 »

Valmond wrote:IMO this is 'pixel art' not a cellshader/toonshader :)
well, it is i suppose - what is your point? i'm asking about 3d :P

'how to make that kind of toon shader' i'm not saying this 2d game has any shaders in it.
Acki wrote:
Valmond wrote:IMO this is 'pixel art' not a cellshader/toonshader :)
the 1st I'm not sure...
the 2nd I think so, too... ;)

what he wants is something like XIII (at least I want to know, btw realy great game :lol: )
well, yes! :P exactly, kind of. so i'll just experiment with toon shaders and ow resolution i think
[also, that link doesn't work but i did a little search :P]
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

cr33 wrote:
Acki wrote:what he wants is something like XIII (at least I want to know, btw realy great game :lol: )
[also, that link doesn't work but i did a little search :P]
oops, pasted a wrong url for the link... :oops: :lol:
corrected it for those who don't know XIII !!! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Valmond
Posts: 308
Joined: Thu Apr 12, 2007 3:26 pm

Post by Valmond »

>well, it is i suppose - what is your point? i'm asking about 3d

Pixelart is hand crafted 2D images (both the first screenshot and Warcraft 1 is pixelart, I can't see the second image
but I spent enough days on Warcraft 1 to know ;)), you can't make a 3D mesh render like that.

So my point is, you can't do a shader making those screens from 3D.

What you can do is very nice effects with a cellshader but that is another story :)

Good luck anyway, cellshaders are cool.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

You can render your mesh to a texture, using a toon shader if you like, then display the texture in 2D at a rounded position to give the pixel effect.

If you render the entire screen to a small render target then you'll see it moving between the pixels. You need to keep the model aligned or the effect will break during movement. Also you'll want to skip frames of your animation to keep it roughly aligned to pixels.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply