• Stars
    star
    121
  • Rank 292,683 (Top 6 %)
  • Language
    C#
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Experiments with Live2D models and lighting/post-processing.

Live2DLighting

Experiments with Live2D models and lighting/post-processing. ✨

Example

See this video (https://www.youtube.com/watch?v=Yj6OkmbFB2A) for a few example scenes created with the effects contained in this repository.

WebGL Demo: https://denchi.itch.io/live2d-webgl-lighting-test

Screenshot Screenshot

Scenes

  • SampleScene: Live2D model with some post processing applied.
  • SenkoNormalMapped: Live2D model with lighting using a hand-painted normal map.

A note on the models

There are two models in the scene, both being rendered to separate RenderTextures. The first one is just the model with the regular model texture. The second model is used for rendering to a RenderTexture that will be used as a normal map.

For this second model, the regular texture has been replaced with a texture containing the normals. Such a texture can be manually created with any graphics software like Photoshop or Sai, or specialized software such as SpriteIlluminator.

Normal Map

License

Released under MIT License.

Contains components from Kino by Keijiro Takahashi, also released under MIT license.
Contains components from the Live2D Unity SDK, see "Live2D License".