d4rkc0d3r / d4rkAvatarOptimizer

d4rkpl4y3r's VRChat Avatar 3.0 optimizer
MIT License
394 stars 17 forks source link

UV tile discard does not work after optimizations #118

Open jerryzmtz opened 2 months ago

jerryzmtz commented 2 months ago

Sometimes after optimizations, UV tile discard stops to work correctly. I could not specify which setting is causing this.

jerryzmtz commented 2 months ago

Environment SDK 3.6.1 d4rk 3.7.4 It seems that this only happens during upload, but not in the editor as shown in the following steps:

  1. NDMF framework Manual bake avatar
  2. VRCFury Build an Editor Test copy
  3. d4rk Create Optimized Copy

Before optimizations, row3 column 3 UV tile discard will hide the lower leg of the base model. image

After optimizations, UV tile discard settings will work correctly in editor image image image

The first material of combined mesh after optimizations have UV tile discard section enabled. image image image

After upload, UV tile discard is not doing anything

This is hard to be shown by a screenshot. You could see that the knee mesh is visible when the kneesock is on, which is not expected. If I move the camera into the body, could see that the whole leg mesh is rendered.

image image

jerryzmtz commented 2 months ago

Here are two trash bin files after optimizations in editor and upload

TrashBin_Upload.zip TrashBin_EditorOptimizedCopy.zip