/Live2DLighting

Experiments with Live2D models and lighting/post-processing.

Primary LanguageC#MIT LicenseMIT

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.

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 a program such as SpriteIlluminator or any graphics software like Photoshop or Sai.

Normal Map

License

MIT License

Contains components from Kino by Keijiro Takahashi, also released under MIT license.