Toon Shader's Outline Effect on Another Shader?

Hey All,

Working on a new game that has a hand-drawn crayon coloring book art style. In any event, we don’t want to use the toon shader, because we want to be able to do better things with lighting, but we’d love to be able to put a smooth black outline around everything like the toon shader does.

So my question is this - is it possible to get that outline on any shader? And if so, how? Thanks in advance for any assistance guys, it’s greatly appreciated :slight_smile:

You might want to look at the RenderWithShader functionality as a point of departure - specifically the edge detection effect which is based on image-space normals and depth.

Chuck,

Thanks for the fast response. Unfortunately, I am completely shader retarded. Would you mind explaining that a bit more? (Sorry)

In this, look at the “edge detection” example.

It does require Pro.

Interesting, I’ll check it out. Thank you very much.