Custom Shader Loader

Plugins + Scripts Custom Shader Loader

Download [<1 MB]


It’s a really useful plugin.
However, I’m not very familiar with coding, so I can’t create shaders that meet the plugin’s specifications.
When I configure the shader I made (with ChatGPT), save the scene, and then reload it, the settings are reset.
Also, if I apply the plugin to multiple clothing items and then load the saved scene, the skin texture looks off.
Would it be alright if I edit the plugin for my own use?
 
This is a revolutionary feature. Now, we truly need a hero to develop a shader that achieves refraction effects.
 
I don't seem to have the option to apply shaders to clothing items. In fact, the plugin seems completely broken for me
 
I don't seem to have the option to apply shaders to clothing items. In fact, the plugin seems completely broken for me
Hi, could you let me know a bit more about how you are using it? A few screen shots or video could help me diagnose what the issue is
 
Hi, could you let me know a bit more about how you are using it? A few screen shots or video could help me diagnose what the issue is
I found out what it was-- if used along alternative futa it doesn't detect things correctly, probably because that plugin messes with how skins work. I got it to work by just disabling alternative futa and reenabling it once I applied the custom shaders
 
I’ve noticed a problem. After I save a scene, the plugin doesn’t retain the AssetBundle I selected—the one for the stockings—every time I load the scene back. I have to manually reload it in the plugin each time. What’s worse, the character’s skin texture gets completely changed whenever I load the AssetBundle, forcing me to reset the character’s appearance. I remember this wasn’t an issue in previous versions; everything worked just fine back then.
 
It'd be nice if this works for male/futa. I tried using Claude Code to see if I can get it to work but it can't seem to bind to the vertex positions of the male atom it seems.

Here's what it said - not sure how correct this is, or if this helps in anyway. I really love this plugin though, thank you for this!


Code:
The problem is purely that BroadcastMessage("OnApplicationFocus") successfully binds those buffers for female but not for male. Something about   
  the male body's GPU skinning pipeline isn't being initialized/connected when that message fires.
                                                                                                                                                    
  So we're back to: the plugin needs to find a different way to trigger the buffer binding for male.
 
hi i get An error with an embody plugin when i swap models
 

Attachments

  • Screenshot 2026-06-02 021111.png
    Screenshot 2026-06-02 021111.png
    52.8 KB · Views: 0
Is there a way to create a preset system for the plugin? so that we can reload specific setups more easily?
 
Hi @regguise,
thanks for your work on this! I have a small QOL-update you could implement if you want:
I was annoyed that I always had to go to "/AddonPackages" then filter by name to find suitable packages with shaders, since this takes about 2min on my installation.
To fix that, you should do the following in
Code:
SetupShaderBundleUI()
:
Code:
shaderBundleUrl = Utils.SetupAssetBundleChooser(this, "Load Shader Bundle", defaultAssetDir, false, "assetbundle");
shaderBundleUrl.shortCuts = FileManagerSecure.GetShortCutsForDirectory(defaultAssetDir);

Now you get a searchable shortcut list of all packages containing the path "Custom/Assets/" on the left side of the file browser. And the right panel also starts in the local "Custom/Assets/" directory (you had "" as starting value for the shaderBundleUrl).
View attachment 607974

Have a nice day!

EDIT: I've done some more because the shader selection as well as the shader properties did not restore for me at all. I had to shuffle some things and change some waiting conditions for it to work. Here's my code:
 

Attachments

  • CustomShaderLoader.cs
    86.8 KB · Views: 0
Last edited:
Back
Top Bottom