Toon shading model

Considering that everyone is actually facing similar problems, I have made a list of the problems that I have encountered that have been resolved and have not yet been resolved.

  1. Character Face Shadows (resolved): Added a Custom Material Node to modify normal in the engine.
  2. Skylight, indirect light, and reflection are not stylized (resolved): The effect of normal on skylight, indirect light, and reflection is removed in the source code.
  3. Outline and inner line (resolved): Add Custom data control node, specifically use two Custom data to control the post-process material.
  4. Self-shadowing accuracy (resolved): Use ray-traced capsule shadows instead of shadow maps, combined with normal edits.
  5. Character receiving shadow accuracy (resolved): Use a decal instead of a shadow map (remove the fade-out of the deferred decal X-axis).
  6. Character contact shadow (unresolved): Shadows on small areas of the character, such as the projection of hair on the forehead.
  7. Stylized eyes (unresolved): Porting some properties of the default eye material to the Toon Shading Model, adding a number of controllable fake highlights.
  8. Stylized Perspective (unresolved): Achieve a few common perspective errors in Anime.
  9. Stylized metal (unresolved): Makes metal objects in the scene more stylized.
  10. Stylized edge light (unresolved): Rim light around static objects in Anime.
  11. (And more to discover)