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] Only apply viewport zBias if minZ is below 0.5 #3305

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

K0bin
Copy link
Collaborator

@K0bin K0bin commented Mar 23, 2023

Fixes #3298

Tests show that Windows D3D9 (Nvidia) works like that.

The code I used to test it is here: K0bin/dxvk-tests@53bb43c
But it involved some manual adjusting + trial and error.

Fixes Space Marine shadows.
Tests show that Windows D3D9 (Nvidia) works like that.
@misyltoad misyltoad merged commit d11878e into doitsujin:master Mar 23, 2023
@K0bin K0bin deleted the vpbias branch March 23, 2023 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[d3d9] [bisected] Warhammer 40,000: Space Marine - Anniversary Edition shadow artifacts as of f295095
2 participants