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

Black pixels only on some textures #138

Open
snowsorry opened this issue Sep 19, 2022 · 1 comment
Open

Black pixels only on some textures #138

snowsorry opened this issue Sep 19, 2022 · 1 comment

Comments

@snowsorry
Copy link

Everything seems to work perfectly except for this issue. Only one or two textures will have this error. I tried messing with the model itself, adding and removing effects, but nothing seems to fix it. I don't think it's the material texture, because this doesn't happen with other shaders.

Screenshot 2022-09-19 06 17 21
Screenshot 2022-09-19 06 17 12
Screenshot 2022-09-19 06 17 41

Also, if I turn off the texture/shading in the MME menu, it turns transparent?

Screenshot 2022-09-19 06 26 29

@AkagiVoid
Copy link

AkagiVoid commented Nov 23, 2022

Not to embarress U,
Solution1:
U have tried opening UR model in PMX Editor (The V0.2.7.3 / V0273 preferably)
And go to "PMX Info",
image
Then configure the "filter" in the popped up window to,
image
And then hunt and fix the bugs/errors until the check screen is empty (note check screen does not auto update so every fix U'll have 2 press "Inspect" button on the "Check PMX Data" window 2 refresh it).
Dis may resolve many of Ur issues because dat issue to me looks like a model face surface error where two faces are trying to occupy the same space.

Solution2:
Another problem is where two materials of two objects occuping the same space as well, which can cause dat wierd glitching issue, and the automatic face and vertex fixer dats built into PMXEditor may not be able 2 fix dat in which U'll have 2 manually fix it Ur self.

Solution3:
Another way dis can be caused is by material drawing order, in which each mesh is loaded in by material number order from the material list as shown in the "Material" in the PMXEditor.
Like U get two spheres one is big and one is small, the big one is drawn first since its material is in slot 1, and the small one gets drawn second since its slot is number two.
Now if the small sphere is loaded first before the big sphere is dan U get a funky draw order where if the big sphere Alpha/Opaque is 0.99 and the small sphere is Alpha/Opaque is 1, then U get a glitch where the small sphere will show through the big sphere like sum sort of Xray effect.

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