d4rkAvatarOptimizer icon indicating copy to clipboard operation
d4rkAvatarOptimizer copied to clipboard

Shader error in 'd4rkpl4y3r/Optimizer/M00_001_01_Bottoms_01_CLOTH ACLS_Toon_AlphaCutout_Dither': undeclared identifier 'cov' at line 13100 (on d3d11)

Open Miiikro opened this issue 2 years ago • 1 comments

I changed shader to ACiiL, even before I clicked ''Create Optimized Copy'' and it still turnes pink and the console errors: Shader error in 'd4rkpl4y3r/Optimizer/M00_001_01_Bottoms_01_CLOTH ACLS_Toon_AlphaCutout_Dither': undeclared identifier 'cov' at line 13100 (on d3d11) Unity vrc optimizer issue

Miiikro avatar Sep 03 '22 21:09 Miiikro

Please d4rkpl4y3r reply and fix it when online!, but what's the purpose of .unitypackage file?

Miiikro avatar Sep 03 '22 22:09 Miiikro

I was able to reproduce the issue with ACLS AlphaCutoutDither shader and fixed it. It was caused by the extra coverage output paramter not getting declared in the fragment shader function declaration.
Get the fix from here: https://github.com/d4rkc0d3r/d4rkAvatarOptimizer/archive/refs/heads/main.zip

d4rkc0d3r avatar Sep 05 '22 14:09 d4rkc0d3r

I was able to reproduce the issue with ACLS AlphaCutoutDither shader and fixed it. It was caused by the extra coverage output paramter not getting declared in the fragment shader function declaration. Get the fix from here: https://github.com/d4rkc0d3r/d4rkAvatarOptimizer/archive/refs/heads/main.zip

Yeah, but how to find the unitypackage itself?, and how to use the said fix, should I just put the .zip file into Unity project and just create another copy?, I opened the link to the fix, but I don't know how to use it on the avatar shader, please tell me how

Miiikro avatar Sep 07 '22 20:09 Miiikro

You delete the old version of the optimizer from your unity project.
Then you unpack the .zip and drag the unpacked folder into the assets folder of your unity project.
After that you have the newest version of the optimizer installed. With that you can create a new optimized copy and it should work now.

d4rkc0d3r avatar Sep 08 '22 19:09 d4rkc0d3r

You delete the old version of the optimizer from your unity project. Then you unpack the .zip and drag the unpacked folder into the assets folder of your unity project. After that you have the newest version of the optimizer installed. With that you can create a new optimized copy and it should work now.

Thanks

Miiikro avatar Sep 10 '22 08:09 Miiikro