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

Always create black pictures of *baked_ImposterBase.png and *baked_ImposterPack.png in Unity Version 2019.1.0f2 #12

Open
CoderTiger opened this issue Aug 29, 2019 · 2 comments

Comments

@CoderTiger
Copy link

CoderTiger commented Aug 29, 2019

Hello,

IMP can definitely help to greatly improve the performance of my game. But I found it always create black pictures of *baked_ImposterBase.png and *baked_ImposterPack.png.
I use IMP in Unity 2019.1.0f2 on macOS Mojave (Version 10.14.6). And what else can I do to help to investigate the issue?

Many thanks for your great tool!

@CoderTiger
Copy link
Author

CoderTiger commented Sep 9, 2019

I should have fixed the issue by modifying ImposterProcessing.compute as below. :D

...
-                    if ( AllChannels )
+                    if (AllChannels == true)
...
-            if ( exit ) break;
+            if (exit == true) break;
...
-       if ( NormalsDepth )
+        if (NormalsDepth == true)
...

I have committed it to my fork branch. Thanks for the great plugin again!

@mijn
Copy link

mijn commented Jan 7, 2020

having the same issue I think.. no matter what I do I get black texture (also unity 2019).. can u help me fix this?

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