Releases: d4rkc0d3r/d4rkAvatarOptimizer
Releases · d4rkc0d3r/d4rkAvatarOptimizer
d4rkpl4y3r Avatar Optimizer 3.0.0-alpha.11
Add Repo to VCC
Features
- New mode to merge meshes without introducing shader toggles.
- When none of "Use Shader Toggles", "Write Properties as Static Values" or "Merge Different Property Materials" are enabled, the optimizer will no longer generate new shaders at all.
- Support for Android build target by using the above new mode. Also hides those options when the build target is Android.
- Add preset buttons "Basic", "Shader Toggles" & "Full" to the optimizer.
- Remove useless layers from the FXLayer when "Optimize FX Layer" is enabled.
- Add option to combine motion time layers as a piecewise linear 1D tree into the direct blend tree as well.
- Show layer merge errors as tooltips in the "Show FX Layer Merge Results" section.
- Add option to disable phys bones together with the skinned mesh they affect.
- "Optimize FX Layer" can now also merge toggle layers that use two bools.
- Add support for
.orlshader
files from orels-Unity-Shaders - Add basic support for Modular Avatar by changing the callback order to -15 when Modular Avatar is detected.
- "Delete Unused Components" now deletes phys bones whose dependencies all get deleted as well.
Changes
- "Merge Skinned Meshes" now only merges skinned meshes that get animated together.
- Added "Use Shader Toggles" option to enable the old behavior.
- Deleted "Keep Material Animations Separate" option. It is now always enabled when "Use Shader Toggles" is enabled.
- Renamed "Merge Simple Toggles as BlendTree" to "Optimize FX Layer".
- "Write Properties as Static Values" is now forced on when "Use Shader Toggles" or "Merge Different Property Materials" is enabled.
- Small optimizations to the generated shaders:
- Changed type of Texture2DArray index from int to float eliminating a type conversion.
- Use ternaries for merged material properties that have only one value that differs from the rest.
- No longer include unity cg include files, instead directly include only UnityLightingCommon.cginc to get the _SpecColor declaration.
Bug Fixes
- Fix error message when trying to delete an unused AudioSource before its connected VRCSpatialAudioSource.
- Fix boneless skinned meshes ignoring the root bone property.
- Fix inline if return statements in the vertex & geometry shader not getting parsed correctly.
- Fix first mesh of a merged mesh block not checking if one of its parents has game object toggles.
Since v2.3.0
Bug Fixes
- Fix animator copy when the animator is a sub asset. (more)
- Disable Create Optimized Copy button if the avatar has a VRCFury component. Also shows a warning explaining why. (more)
- Fix warning spam in console from "unused" properties in the setting editor.
- Fix tangents being 0 if a mesh with no tangents gets merged with one that has tangents.
d4rkpl4y3r Avatar Optimizer 2.3.2
Add Repo to VCC
Bug Fixes
d4rkpl4y3r Avatar Optimizer 2.3.1
Add Repo to VCC
Bug Fixes
- Fix tangents being 0 if a mesh with no tangents gets merged with one that has tangents.
d4rkpl4y3r Avatar Optimizer 2.3.0
Add Repo to VCC
Features
- Added tooltips to all toggles and foldouts. They are identical to the descriptions in the readme.
- Added settings window to configure the default settings when adding the optimizer component to an avatar.
Changes
- The title of the inspector now shows a shorter name when the window is too small to show the full name.
Since v2.2.0
Bug Fixes
- Fix crash when trying to create a file with invalid characters in the name. (more)
- Detect if a shader has instancing support and throw a parser exception if it has. This prevents the optimizer from trying to optimize shaders that it can't handle.
- Fix crash with outdated VRC SDK. Disables the Optimize on Upload option and shows an error message instead. (more)
- Fix crash when the avatar has some viseme blendshapes set to
-none-
. (more) - Fix error when trying to make Texture2DArray with mipmaps disabled.
d4rkpl4y3r Avatar Optimizer 2.2.5
Bug Fixes
- Fix crash when trying to create a file with invalid characters in the name. (more)
d4rkpl4y3r Avatar Optimizer 2.2.4
Bug Fixes
- Detect if a shader has instancing support and throw a parser exception if it has. This prevents the optimizer from trying to optimize shaders that it can't handle.
d4rkpl4y3r Avatar Optimizer 2.2.3
Bug Fixes
- Fix crash with outdated VRC SDK. Disables the Optimize on Upload option and shows an error message instead. (more)
d4rkpl4y3r Avatar Optimizer 2.2.2
Bug Fixes
- Fix crash when the avatar has some viseme blendshapes set to
-none-
. (more)
d4rkpl4y3r Avatar Optimizer 2.2.1
d4rkpl4y3r Avatar Optimizer 2.2.0
Features
- Add option to apply optimization on upload instead of creating a copy of the avatar.
Changes
- Improved the warning text for locked in materials / unlocked materials depending on the optimization mode.
- Changed warnings for materials that can't merge to info boxes instead of warnings.
- Add TPS support for penetrator detection.
- No longer remove illegal components from the avatar.
- Move Profile Time Used to the top of the debug info section.
Bug Fixes
- Fix crash when the avatar has multiple non skinned meshes that try to get merged together without any material that can get merged or no skinned mesh in the merge target. (more)
- Fix parser not recognizing
#include
directives with<>
instead of""
. (more) - Fix optimizer ignoring
[gamma]
tags for properties. (more) - Add safeguards around bindpose & bone count mismatch. (more)