rygo6 / GTAvaCrypt

System to mitigate avatar ripping in VRChat.
MIT License
88 stars 16 forks source link

Allow integration of other shaders again #13

Open Ess-Ka opened 2 years ago

Ess-Ka commented 2 years ago

I was able to successfully implement GTAvaCrypt V2.1 for other shaders (Sunao/UTS/XSToon). I've added the _BitKeys to the shaders and the GTModelDecode.cginc include. During encryption, GTAvaCrypt updated every GTModelDecode.cginc in the project. This worked for me with many type of shaders at the same time.

In the current version, the EncryptMaterials method ignores any other shader than ".poiyomi/Poiyomi" 8. Is it possible to add an additional logic there, which works like for V2.1?

rygo6 commented 2 years ago

Ya I think this is a good idea to, I'll get the injection code consolidated to an interface to support multiples.

Ess-Ka commented 2 years ago

Perfect - this sounds good 👍

Sayoki-Yukina commented 1 year ago

Thank you. We need more shaders support just like @Ess-Ka says, and in additional, liltoon, UnityChanToonShader, Arktoon and more is needed. Poiyomi shader is not good for me because of it shading.