Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Allow integration of other shaders again #13

Open
Ess-Ka opened this issue Sep 10, 2022 · 3 comments
Open

Allow integration of other shaders again #13

Ess-Ka opened this issue Sep 10, 2022 · 3 comments

Comments

@Ess-Ka
Copy link

Ess-Ka commented Sep 10, 2022

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?

  • Check, if there are _BitKeys fields in the material/shader and enable encryption then
  • Update any GTModelDecode.cginc found in the project
@rygo6
Copy link
Owner

rygo6 commented Sep 11, 2022

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

@Ess-Ka
Copy link
Author

Ess-Ka commented Sep 11, 2022

Perfect - this sounds good 👍

@Sayoki-Yukina
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants