The last time I think is a little improper, it is only to hook outline, not in accordance with the z value, for example, when a person's hand swings to the inside of the body, the edge of the hand cannot be very good. Sketch out. So I thought about it and studied a way to solve this problem.
Similarly, the character is stretched into the normal direction to the normal direction, but does not need to use Stencil Buffer or Z Buffer when rendering, but rendering the triangle direction, it is rendered, which is the reverse side of the render, which As soon as, almost all edges can be better out, and the efficiency is also very high.
Oh, the study on cartoon rendering is finally able to tell a paragraph.
If the original ALPHA mixed SCR is 0, DEST is 1, get the concept effect of the how: