Closed TayouVR closed 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
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.
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.
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.