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

Mega Man eye material transparency #138

Open
Silent69420 opened this issue Jan 8, 2023 · 2 comments
Open

Mega Man eye material transparency #138

Silent69420 opened this issue Jan 8, 2023 · 2 comments
Labels
bug Something isn't working ssbh_wgpu rendering library

Comments

@Silent69420
Copy link

Mega Man's eye materials are oddly translucent when seen in SSBHE but not ingame, exposing the inside of the mesh.
Sus

@ScanMountGoat ScanMountGoat added bug Something isn't working ssbh_wgpu rendering library labels Jan 9, 2023
@ScanMountGoat
Copy link
Owner

Certain animations are setting CustomVector0 to 0,0,0,0 and causing the eyes to become transparent. I'll do some testing to figure out how the game is handling the alpha in this case.

@ScanMountGoat
Copy link
Owner

ScanMountGoat commented Jan 16, 2023

I double checked in an emulator and the alpha rendering is correct. There's a bug in the ssbh_wgpu renderer causing the post processing to not apply properly if the mesh has alpha set to 0. This is why parts of the mesh are darker than expected, making it look "transparent".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ssbh_wgpu rendering library
Projects
None yet
Development

No branches or pull requests

2 participants