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

emuThree issue with rendering shadows (Possibly caused by MoltenVK flag) #2390

Closed
yippeeeyay opened this issue Jan 27, 2025 · 1 comment
Closed
Assignees
Labels
bug something broken that needs fixing, confirmed and reproduceable

Comments

@yippeeeyay
Copy link
Contributor

Hi, I hope you are doing well.
I recently reported another issue with MoltenVK related to Metal Argument Buffers, and I am glad that it is now fixed with that flag disabled and most games render perfectly now.

However, I have noticed another issue which only happens in select games like Super Mario 3D Land (Only happens with 3.0.3). The shadows will render with solid black lines instead of being transparent.
Example:
Image

Changing the HW renderer settings or other settings do not fix this, but I think I know the culprit of the issue.
Recently you enabled private APIs for MoltenVK (MVK_CONFIG_USE_METAL_PRIVATE_API). I think this causes the shadow graphical glitches in select games.

Folium had this exact issue (shadows being rendered wrong) in Folium v1.3, and the developer stated it was due to private apis being enabled in his MoltenVK build:
https://x.com/antique_codes/status/1799043475276792261
He later fixed this in Folium v1.4 and above.

If you could test this game with MVK_CONFIG_USE_METAL_PRIVATE_API=0 and see if it fixes the shadow issue, that would be great.

@yippeeeyay yippeeeyay added the bug something broken that needs fixing, confirmed and reproduceable label Jan 27, 2025
@JoeMatt JoeMatt self-assigned this Jan 29, 2025
@JoeMatt
Copy link
Member

JoeMatt commented Jan 29, 2025

Fixed in next release

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken that needs fixing, confirmed and reproduceable
Projects
None yet
Development

No branches or pull requests

2 participants