mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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:
@@ -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
|
||||
// =========
|
||||
|
||||
Reference in New Issue
Block a user