Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Miiikro opened this issue Sep 3, 2022 · 5 comments

Comments

@Miiikro
Copy link

Miiikro commented Sep 3, 2022

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 Miiikro changed the title My shader is pink and ACiiL shader only turnes color grey Shader error in 'd4rkpl4y3r/Optimizer/M00_001_01_Bottoms_01_CLOTH ACLS_Toon_AlphaCutout_Dither': undeclared identifier 'cov' at line 13100 (on d3d11) Sep 3, 2022
@Miiikro
Copy link
Author

Miiikro commented Sep 3, 2022

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

@d4rkc0d3r
Copy link
Owner

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

@Miiikro
Copy link
Author

Miiikro commented Sep 7, 2022

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

@d4rkc0d3r
Copy link
Owner

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.

@Miiikro
Copy link
Author

Miiikro commented Sep 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants