lilxyzw / lilToon

Feature-rich shaders for avatars
MIT License
930 stars 95 forks source link

Decal animation set frame feature #204

Open linsonder6 opened 1 month ago

linsonder6 commented 1 month ago

just like poiyomi, you can set the frame by changing CurrentFrame in decal animation

Unity_WfpV8hfrRz

-1 for the anim will move normally, otherwise it will stop at the frame you set

also, all shader files need to change (or just change when u gonna use the feature) from

[lilDecalSub]   _Main3rdTexDecalSubParam    ("sDecalSubParams", Vector) = (1,1,0,1)

to

[lilDecalSub]   _Main3rdTexDecalSubParam    ("sDecalSubParams", Vector) = (1,1,0,-1)