• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
Custom Shader Loader

Plugins + Scripts Custom Shader Loader

Download [0.02 MB]

regguise

Well-known member
Joined
Nov 20, 2021
Messages
52
Reactions
526
regguise submitted a new resource:

Custom Shader Loader - Why I am seeing purple?

This is a plugin that loads custom unity shader from assetbundle.

It works on person atoms, clothing items (via @Stopper 's clothing plugin manager) and CUAs.

How to use:

1. load the plugin on a person plugin
2. go into UI

View attachment 478872

3. click on "Select Load Shader Bundle" and pick an assetbundle that has a shader.
4. choose shader from "Select Shader"...

Read more about this resource...
 
Hi! thx for making this wonderful plugin!
But i also found out a bug(maybe?). Using this plugin to apply custom shader will lock textures' tile/offset to default(1).
For example , i used some minor details textures with 10x tileX/Y. It was set back to 1x (though it still showed original tile number i used).
Hope theres a fix to this)
 
If someone could automate this that would be awesome. I'm trying to wrap my head around this and I have like 100 clothing items I could apply this to. It just seems a bit tedious.

Or maybe some clothing creators will go back and add this to some previously made clothing, because it's pretty awesome!
 
Hi! thx for making this wonderful plugin!
But i also found out a bug(maybe?). Using this plugin to apply custom shader will lock textures' tile/offset to default(1).
For example , i used some minor details textures with 10x tileX/Y. It was set back to 1x (though it still showed original tile number i used).
Hope theres a fix to this)
Thanks for your feedback!

Yes the shader doesn't implement tileX/Y at the moment. But it should be doable. I'll try to add it in next update.
 
Thanks for your feedback!

Yes the shader doesn't implement tileX/Y at the moment. But it should be doable. I'll try to add it in next update.

It is going to be an update in the shader itself rather than the plugin, just to clarify
 
It doesn't seem to work with SSS. I can only use it by changing the Render Queue, but there's another issue — after I take off the stockings and put them back on, the same problem occurs again, and I have to change the Render Queue once more.
20250413-094009.png
 
It doesn't seem to work with SSS. I can only use it by changing the Render Queue, but there's another issue — after I take off the stockings and put them back on, the same problem occurs again, and I have to change the Render Queue once more.
View attachment 479736
Yes. I have seen similar behavior. I think I know where the issue is. I will add renderqueue handling/restore in next update. But it will be in the plugin not the shader. Thanks for reporting this!
 
Hello regguise! Thank you very much for making and sharing this plugin!

Would it be possible to make "Rescan Clothing Items" a triggerable command? Or is it already possible and I just don't find it 🤔

Rescan Clothing Items.jpg
 
Hello regguise! Thank you very much for making and sharing this plugin!

Would it be possible to make "Rescan Clothing Items" a triggerable command? Or is it already possible and I just don't find it 🤔

View attachment 480176

Thanks, yes I do have a list of todo items and adding triggerable button/sliders is one of them. Probably won't make it next update tho. But the one afte that I will try to implement it.
 
Thanks, yes I do have a list of todo items and adding triggerable button/sliders is one of them. Probably won't make it next update tho. But the one afte that I will try to implement it.

Oh lol did not expect you to respond so quickly! Very happy to hear that it is planned! 👯‍♀️🥳🍻 And thanks!
 
Great plugin and thank you for making this! but does it work on futa/male atom? I tried but it doesn't seem to work and some error message pops up. It works fine on female atom.
Also: is it possible to use it on decal? using decals to make stockings can fit perfectly against the skin without any offset or clipping issues.
 
Great plugin and thank you for making this! but does it work on futa/male atom? I tried but it doesn't seem to work and some error message pops up. It works fine on female atom.
Also: is it possible to use it on decal? using decals to make stockings can fit perfectly against the skin without any offset or clipping issues.
Thanks!

I haven't thought of futa/male support but I will look into it. If not too much difference I will add it probably in third update or so.


For the shader only on decal, the short answer is no.

Based on my understanding the decal texture overlay on skin is handled by the default skin shader. since we are doing shader replacement here, once it is swapped you lose that decal texture overlay slot. Now I can, theoretically implement in the custom shader to only affect the decal texture, but that means I need to re-implement the rest of the skin shader which is not trivial and really is not worth the effort. On the other hand swapping skin shader means whatever texture you are using should be using the G2F UV, this usually means for given piece of clothing the creator needs to wrap it to G2F shape and do texture transfer.

So in all, it is not that it cannot be done, it's the gain can't really justify the amount of work required.
 
Back
Top Bottom