+
Skip to content

lilToonVAT: lilToon custom shader that ports and extends the nekoVAT system by nekoya

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

anatawa12/lilToonVAT

Repository files navigation

lilToonVAT Shader

This shader is a VAT (Vertex Animation Texture) system for the lilToon.

This is a custom shader of lilToon that ports the nekoVAT system by nekoya to lilToon.

You can use original nekoVAT system by nekoya for creating VAT textures in blender, or you can use our customized texture generator in .blender directory.

nekoVAT system by nekoya: https://booth.pm/ja/items/5943052

Usage

  1. Create a VAT animation in Blender

  2. Create VAT Texture (and optionally mock object) with blender plugin

  3. Export & Import VAT Texture and object to Unity

    When exporting from blender, make sure:

    • The VAT Texture is exported as a non-color RGBA exr texture
    • The object should be exported with Scale = FBX All, Froward = -Z Forward, Up = Y Up, and Apply Transform enabled

    When importing in unity, make sure:

    • The VAT Texture is imported as Float RGBA texture
    • The object is imported with vertex order optimization disabled if mock object is used
  4. Create a material with lilToon VAT shader

  5. Assign the VAT Texture to the material, and enable mock if you use mock object

Notes

  • Because of liltoon's problem, normals transformed by VAT may not be applied for outline rendering so you might see weird outline artifacts, especially when using mock object mode. lilxyzw/lilToon#296 This bug is fixed in lilToon 2.0.0

About

lilToonVAT: lilToon custom shader that ports and extends the nekoVAT system by nekoya

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载