mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Treat alpha as 0 if alpha is 1 for blending
This removes the white box in fortune street again, without causing Mario Kart Wii to regress.
This commit is contained in:
parent
0327e6acb4
commit
444f6fd0cb
3 changed files with 28 additions and 0 deletions
|
@ -1032,6 +1032,9 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
|
|||
" }}\n"
|
||||
"\n");
|
||||
|
||||
out.Write(" // Hardware testing indicates that an alpha of 1 can pass an alpha test,\n"
|
||||
" // but doesn't do anything in blending\n"
|
||||
" if (TevResult.a == 1) TevResult.a = 0;\n");
|
||||
// =========
|
||||
// Dithering
|
||||
// =========
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue