• 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]
Updates and fixes
------------------------------
1. fixed issue where default color from json file is not applying on load
2. fixed issue where texture load path is not handled properly
3. fixed an issue where the bool default value is not handled correctly
4. added support to default texture load path from json file
I don't think these change are intrusive, so old presets and scenes should still work, although I have not done much testing on this latest version. If it is breaking your existing preset please revert to previous version and report the bug to me. Thanks!


Bug Fixes
----------------------------
1. Fixed an issue where texture load from properties UI not working
2. Fixed an issue where CUA manager preset doesn't restore saved settings

Update
-----------------------------
Added toggle property support. Although in your shader you'll need to declare the variable as float, not boolean.

Something like:

Code:
    Properties
    {
      ...
     
      [Toggle] _ToggleProperty ("Toggle Property", Float) = 1
     
      ...
    }
   
    SubShader
    {
      ...
     
      float _ToggleProperty;
     
      ...
    }


In the json file

Code:
    {
        "name": "_ToggleProperty",
        "displayName": "Toggle Property",
        "type": "toggle",
        "defaultValueBool": "True"
    },
Bug fixes
-------------------------------------------------
1. [Person Plugin Mode] fixed the issue the skin slots not showing up, introduced in previous update
2. [Person Plugin Mode] fixed issue where properties are not applied when skin slot is selected
Bug fix:

Fixed an issue where the plugin did not wait for skin to load.

Special shout out to @TGC for bug report and help on testing fix.
Bug fix:
------------------------------------
1. [Person plugin mode] Fixed an issue where scene load restore didn't wait for all clothing items to load
2. [Person plugin mode] Fixed an issue where when selecting clothing after shader is selected, the shader properties are not applied.

Added debug logging support to help with diagnosis of potential bugs in the future because C# is hard and I am dumb

How to trigger debug logs:

1. rename the person/CUA atom to one of these names :

_debug_high
_debug_mid
_debug_low

Here high/mid/low means the verbosity of the logs the plugin will print. "High" means the logs will be most detailed.

2. Then load the plugin on the person or the clothing attached to the person.
3. reproduce the bug
4. disable or remove the plugin

Once the plugin is removed or disabled, it will save a log file under:

Custom\Scripts\Regguise\

Send me the log so I can look and hopefully rootcause the issue faster.

To turn off debug log, just rename the atom to anything else and reload the plugin

-------------------------------------------
New features:
1. Added trigger action for rescan clothing items and rescan CUA materials
2. Added detection when multiple instances of plugin is loaded on one person. Only the first plugin can replace skin shaders

Bug fixes:

1. Various fixes on restore preset actions upon scene loads
2. Fixed an issue where plugin loads will reset the render queue value.


Known issue:
Due to how clothingplugnmanager handles json restores, when a person atom has the plugin loaded, and simultaneously the person has a clothing item loaded the plugin as clothing plugin, the storeId of the scripts can collide and will cause issue when loading preset from clothingplugnmanager.

For now please avoid such use case, i.e. don't use the plugin both as person plugin and clothing plugin on the same person.


I will resolve this in coming updates by separating person plugin and clothing plugin code. Stay tuned.
Back
Top Bottom