-
Notifications
You must be signed in to change notification settings - Fork 23
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
Incorrect glass rendering on Halo: CE #98
Comments
Unrelated but gallium nine has taken a massive performance hit in this game on recent WINE versions. I don't think the regression is in nine itself, so I'm not sure if it's worth opening an issue about it. |
"Unrelated but gallium nine has taken a massive performance hit in this game on recent WINE versions." |
Seems like that glass shader is working with ForceShader=14 in config.txt or -use14 switch, -use11 draws it too. |
wine3d does not account for this case, neither do modern Windows drivers. The Glass only renders correctly on ~2003 ATI drivers, or on modern cards using dgVoodo2 or DXVK. |
On the other hand dxvk seems to draw that via either radv or amdvlk with -use20 too, so yeah a bug. |
That is something really BAD, if it does not work on any driver 🤣 |
Yeah DXVK already has a specific check to handle this exact issue in this game, so it works on there. |
I guess at some point we'll need to implement the same kind of game hacks DXVK does. |
Yeah, unfortunately. |
This is likely due to the game doing undefined behaviour as the shader uses a mismatched image and sampler (iirc sampler is a cubemap but the image is a 2D texture)
Working:
![Screenshot_20210303_234553_working](https://user-images.githubusercontent.com/12814075/109794851-2811aa00-7c7b-11eb-9b8f-5956d43d7871.png)
Gallium Nine:
![Screenshot_20210303_234233_gallium_nine](https://user-images.githubusercontent.com/12814075/109794899-38c22000-7c7b-11eb-81ed-50c9934706d4.png)
The text was updated successfully, but these errors were encountered: