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

[d3d9] Handle invalid alpha ref correctly #1432

Merged
merged 1 commit into from
Feb 10, 2020
Merged

Conversation

doitsujin
Copy link
Owner

@doitsujin doitsujin commented Feb 10, 2020

Some games pass a floating point value to the alpha ref, in which case the integer value is >255, which leads to unconditional alpha test failures. Matches Nine's behaviour.

Fixes #1428.

@Joshua-Ashton Joshua-Ashton merged commit 7567486 into master Feb 10, 2020
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

Successfully merging this pull request may close these issues.

[D3D9] Hyperdimension Neptunia U Action Unleashed & MegaTagmension Blanc invisible models
2 participants