Game Development Community

Outlining Shader

by Dreamarvel · in Torque Game Engine Advanced · 12/24/2009 (2:42 am) · 4 replies

i31.tinypic.com/kxmgz.jpg
(Original Picture from T3D Private Forums)


Hi, anyone know how to obtain this cell shading / Outlining effect using this full screen shader resource ?
http://www.torquepowered.com/community/resources/view/17465

Got it working in T3D, but i need it for TGEA/AFX for my current project.
The laplace shader from the below resource by Michael Perry works, and I was thinking
of using that as the base for an outline shader.

http://www.torquepowered.com/community/resources/view/15648

As i have no idea how to do shader, all i manged to get randomly changing stuff was a negative like effect with the outlines in white. Hope someone can help me :D


#1
12/24/2009 (10:40 pm)
Just a quick tip. Cel (only one 'L') shading and outline shading are two very different things. Cel shading, often called toon shading, deals with shading the object in distinct bands of color, like so:

images.brighthub.com/AB/1/AB16A483D08BBDC28F239C7932CCBA3362F47512_small.jpg
The image you referenced is outline shading. The two effects are often combined, but they are different techniques.
#2
12/25/2009 (1:28 am)
Cool ! Thanx for the info and clearing up terms ! In this cast i think outline shading would be the one i'm looking for. Updated topic to reflect this :D
#3
12/30/2009 (2:17 am)
Update :
Got A Sobel Filter working, but its black and white.
#4
01/03/2010 (10:28 pm)
Update 2 :
Got something to work based on another thread. This is the result.

Original Scene
i45.tinypic.com/9pvnt5.png

Toon Shader Applied Scene
i46.tinypic.com/353c9as.png

Not exactly the desired effect, but its a start. This seems much more faded and seems to be more of a drawing then toon effect :P