d4rkc0d3r / d4rkAvatarOptimizer

d4rkpl4y3r's VRChat Avatar 3.0 optimizer
MIT License
373 stars 17 forks source link

Automatically unlock Thry/Poiyomi materials #24

Closed TayouVR closed 1 year ago

TayouVR commented 1 year ago

I am not sure if thry exposes the UnlockAll() and LockAll() methods, but if they don't, it probably wouldn't be hard to just ask them to do that. Then locked in materials could be automatically unlocked and optimized.

Should add a "Automatically unlock materials" option.

float3 commented 1 year ago

Poiyomi doesn't have a project define and isn't a package so we would need to use reflection, the optimizer needs to work without poiyomi imported

TayouVR commented 1 year ago

I would like if Poiyomi shaders were a UPM package (and thry shader editor a separate one), I will see if I bump into any agreement with poi and thry.

d4rkc0d3r commented 1 year ago

I don't plan to add an option for that mainly because there can also be other shaders with their own lock in mechanic. For poi specifically you can right click on your avatar in the scene hierarchy and select Thry>Materials>Unlock All which imo is already low enough friction.