Skip to content

Unity script to convert lilToon materials to Poiyomi Toon materials

Notifications You must be signed in to change notification settings

LinesGuy/lilToonToPoiyomiToon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

lilToon to PoiyomiToon

Unity script to create Poiyomi Toon materials from lilToon materials

image

How to use

  1. Ensure you have Poiyomi Toon 9 installed (Poiyomi 8 not supported and probably won't work)
  2. Install the .UnityPackage from releases
  3. Select one or more liltoon materials in your project

image

  1. Click on the convert button under tools

image

Backups of the original lilToon materials will be created, and the original materials should now be using Poiyomi shaders, no need to apply the materials

image

What works

  • Opaque/Cutout/Transparent/TwoPass mode
  • Setting of Culling, flipped normals, ZWrite, Render queue
  • Shading mode (flat/multilayer math)
  • Lighting settings
  • Main texture
  • Hue shift + saturation
  • 2nd and 3rd main texture (converted to poiyomi decal 0 and 1)
  • Alpha mask
  • Shadow layers + border
  • AO map (shadow map)
  • Normal map + 2nd normal map (detail normal)
  • Backlight
  • Matcaps
  • Rim light
  • Rim Shade (converted to 2nd rim light in Multiply mode)
  • Outline
  • Emissions
  • Refraction/Blur (intensity might be a bit off, though)

What doesn't work

  • Reflections and specular and lilToon and Poiyomi use very different methods, if your material looks dark or is missing some light then it's probably this
  • Transparent materials will occasionaly look buggy
  • Glitter
  • Fur materials (lil/poi fur use completely different methods)
  • Main texture UV setting
  • Audiolink (I've never used liltoon audiolink)
  • Gem shaders
  • Tesselation
  • Stencils
  • Probably some other stuff, DM on twitter @LinesTheCat or discord @linesnya (say you're from my converter thing)

About

Unity script to convert lilToon materials to Poiyomi Toon materials

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages