Skip to content

Releases: d4rkc0d3r/d4rkAvatarOptimizer

d4rkpl4y3r Avatar Optimizer 3.7.2

21 Jun 19:23
Compare
Choose a tag to compare

Add Repo to VCC

Features

  • Strip Meta pass from shaders that have it.

Changes

  • Moved the code to ensure texture samplers exist at the end of the fragment instead of the beginning.
    • This improves performance with poi fur.
  • Shaders that don't end in .shader or .orlshader are now explicitly marked as not supported.

Bug Fixes

  • Fix shader analyzer not parsing default values for function parameters. (more)
  • Fix Merge Same Dimension Textures merging textures with different filter or wrap settings.
  • Fix Delete Unused GameObjects not marking the phys bone root as moving when it has multiple children that are all but one ignored.

d4rkpl4y3r Avatar Optimizer 3.7.1

17 Jun 15:51
Compare
Choose a tag to compare

Add Repo to VCC

Changes

  • Removing unused bindings from clips only checks for specific property existence for Renderer bindings. All other types just check if the component exists for now.

Bug Fixes

  • Fix RenderersHaveSameAnimationCurves only checking if the keyframe values match and ignoring the keyframe times.
  • Fix removing unused animation clip bindings not respecting the Exclusions list.

d4rkpl4y3r Avatar Optimizer 3.7.0

05 Jun 19:27
Compare
Choose a tag to compare

Add Repo to VCC

Features

  • Add global setting MotionTimeApproximationSampleCount to adjust the amount of samples used for the motion time approximation.

Bug Fixes

  • Fix texture merging default value parsing not working.
  • Fix global includes with leading slash like /Assets/... not working. (more)
  • Fix texture tile and offset values being wrong when materials get merged with different values.
  • Only apply the rescaling of bones during mesh combining to bones that have scale animations. (more)

Since v3.6.0

Changes

  • Delete Unused GameObjects prepends the name of the deleted GameObject to the name of its children.

Bug Fixes

  • Fix crash when the root Animator component has no avatar assigned to it. (more)
  • Fix fx layer 0 getting deleted when it has states or will be the only layer. (more)
  • Fix mesh combining bone scale fix not normalizing the scale of all the parents of the bones during bake.
  • Fix scaled bones not getting treated as "moving" bone when combining meshes.
  • Automatically add _VirtualLens_Root to exclusions so it doesn't break when running the optimizer.
  • Fix shader optimizer breaking on shaders that have no Properties block.
  • Change generated animations to use EditorCurveBinding.FloatCurve instead of EditorCurveBinding.DiscreteCurve. (more)
    • This fixes issues with GoGoLoco & NaNimation keep default enabled state in unity 2022.3.22f1.
  • Fix mesh combining breaking when bones are scaled down by default.
  • Fix bounding box of mesh combining being off when the root transform is not at the origin.
  • Fix ShaderAnalyzer not inline including absolute paths that start with Assets/.
  • Fix empty Properties block not getting parsed correctly.
  • Fix #pragma shader_feature only getting replaced by defining the keywords instead of defining them as a true value.
  • Fix always disabled ParticleSystemRenderers getting deleted when Delete Unused Components is enabled. (more)
    • Somehow the ParticleSystemRenderer component is important for the particle system to work even if it is disabled. Maybe something about sub emitters? idk
  • Fix VRCAnimatorPlayAudio not getting its source path adjusted when using Delete Unused GameObjects. (more)

d4rkpl4y3r Avatar Optimizer 3.6.4

25 May 20:16
Compare
Choose a tag to compare

Add Repo to VCC

Bug Fixes

  • Fix crash when the root Animator component has no avatar assigned to it. (more)
  • Fix fx layer 0 getting deleted when it has states or will be the only layer. (more)

d4rkpl4y3r Avatar Optimizer 3.6.3

17 May 16:49
Compare
Choose a tag to compare

Add Repo to VCC

Bug Fixes

  • Fix mesh combining bone scale fix not normalizing the scale of all the parents of the bones during bake.
  • Fix scaled bones not getting treated as "moving" bone when combining meshes.

d4rkpl4y3r Avatar Optimizer 3.6.2

14 May 21:07
Compare
Choose a tag to compare

Add Repo to VCC

Changes

  • Delete Unused GameObjects prepends the name of the deleted GameObject to the name of its children.

Bug Fixes

  • Automatically add _VirtualLens_Root to exclusions so it doesn't break when running the optimizer.
  • Fix shader optimizer breaking on shaders that have no Properties block.
  • Change generated animations to use EditorCurveBinding.FloatCurve instead of EditorCurveBinding.DiscreteCurve. (more)
    • This fixes issues with GoGoLoco & NaNimation keep default enabled state in unity 2022.3.22f1.
  • Fix mesh combining breaking when bones are scaled down by default.
  • Fix bounding box of mesh combining being off when the root transform is not at the origin.

d4rkpl4y3r Avatar Optimizer 3.6.1

20 Apr 13:30
Compare
Choose a tag to compare

Add Repo to VCC

Bug Fixes

  • Fix ShaderAnalyzer not inline including absolute paths that start with Assets/.
  • Fix empty Properties block not getting parsed correctly.
  • Fix #pragma shader_feature only getting replaced by defining the keywords instead of defining them as a true value.
  • Fix always disabled ParticleSystemRenderers getting deleted when Delete Unused Components is enabled. (more)
    • Somehow the ParticleSystemRenderer component is important for the particle system to work even if it is disabled. Maybe something about sub emitters? idk
  • Fix VRCAnimatorPlayAudio not getting its source path adjusted when using Delete Unused GameObjects. (more)

d4rkpl4y3r Avatar Optimizer 3.6.0

28 Mar 15:14
Compare
Choose a tag to compare

Add Repo to VCC

Features

  • Add support for VRCHeadChop component.
  • Add support for VRCAnimatorPlayAudio state machine behavior.

Changes

  • Add timing of shader parse to single shader or material instead of just for whole folder parses in the Shader Analyzer Debugger.
  • Improved shader parser performance massively by doing simple checks instead of using .StartsWith() & .EndsWith() everywhere and replacing some left over regex with string operations.

Bug Fixes

  • Fix wire frame showing up on materials on AMD gpus sometimes. (hopefully its gone for good)
  • Fix first merged material blob on mesh generating all the animated property arrays instead of only the ones that are used by the meshes in the blob.
  • Fix #include_with_pragmas not getting parsed correctly. (more)
  • Fix HLSLPROGRAM not working since UnityLightingCommon.cginc got always included and it has fixed4 variable declarations.
  • Fix first timing check for the UI not working correctly and upping the disable of the auto refresh to exceeding the time limit 3 times to give the JIT more time to optimize.
  • Fix SPS penetrators getting jumbled up by Mesh.Optimize() (more)
    • This still isn't full support for SPS yet so if it still doesn't work put the penetrator in the exclusion list.

Since v3.5.0

Bug Fixes

  • Fix BoxCollider animation bindings getting thrown away for the BoxCollider that gets implicitly added by VRCStation components. (more)
  • Fix Texture2D_ST material property animations not working when using the Use Shader Toggles option.
  • Fix root animator parameter animations getting removed as non animatable binding. (more)
  • Mark all bindings that reference a transform as animatable as long as the transform exists on the avatar.
    This is because there are more animatable bindings than the AnimationUtility tells us about. Thanks Haï~ for linking me to this.
  • Mark all material property animations as animatable when the target path is affected by any material swap animation.

d4rkpl4y3r Avatar Optimizer 3.5.3

04 Mar 14:27
Compare
Choose a tag to compare

Add Repo to VCC

Bug Fixes

  • Fix BoxCollider animation bindings getting thrown away for the BoxCollider that gets implicitly added by VRCStation components. (more)

d4rkpl4y3r Avatar Optimizer 3.5.2

01 Mar 14:48
Compare
Choose a tag to compare

Add Repo to VCC

Bug Fixes

  • Fix Texture2D_ST material property animations not working when using the Use Shader Toggles option.