[util] Enable alpha test wiggle room for EverQuest 2

Fixes clothing being alpha tested incorrectly due to wonky interpolation on NVIDIA.

Game uses oC0 == 1.0f

My testing on NV shows the alpha test has a precision of 1/256 for all A8 and below formats, and around 1 / 2048 for A32F formats and 1 / 4096 for A16F formats (It makes no sense to me too) so anyway, we're just going to round this to a precision of 1 / 4096 and hopefully this should make things happy everywhere.

Closes: #1832
This commit is contained in:
Joshua Ashton 2020-11-26 12:16:33 +00:00
parent 09043ddd16
commit bbfd6d0690
1 changed files with 4 additions and 0 deletions

View File

@ -406,6 +406,10 @@ namespace dxvk {
{ R"(\\SpellForce2.*\.exe$)", {{
{ "d3d9.forceSamplerTypeSpecConstants", "True" },
}} },
/* Everquest 2 */
{ R"(\\SpellForce2.*\.exe$)", {{
{ "d3d9.alphaTestWiggleRoom", "True" },
}} },
}};