Cartoon shader for highlights [SOLVED]

I was thinking that it would be cool for an actor that the user selects to be highlighted by a line around the model. I’m thinking the cartoon shader would be the easiest way to do this, but after looking at the cartoon shader example I’m left with some questions:

  1. The example says that the shader assumes a single point light. I’m guessing that doesn’t apply to the lines drawn around the model. Am I wrong about that?

  2. Is this a reasonable thing to do in the first place? It seems pretty complicated. Maybe there’s an easier way to put a form-fitting line around a model that will animate with it and everything?

Nope, you were right. That only applies to the cartoon shading, not to the cartoon inking.

Given the answer that Anon got about using cartoon inking on a single node (“it’s tricky”), I probably won’t be using this selection highlight method after all. I’ll probably just bump the model’s color to make it stand out or something similar. Thanks anyway, Coder Formerly Known As pro-rsoft. :slight_smile:

Or you can use that method which everyone hates: with inverted normals (poly count x 2)