mirror of https://github.com/PCSX2/pcsx2.git
glsl: round blending as SW renderer
Better tone on God of War with ultra accurate mode
This commit is contained in:
parent
88cd333839
commit
38c086008d
|
@ -451,7 +451,7 @@ void ps_blend(inout vec4 Color, float As)
|
|||
#if PS_BLEND_A == PS_BLEND_B
|
||||
Color.rgb = D;
|
||||
#else
|
||||
Color.rgb = ((A - B) * C) + D;
|
||||
Color.rgb = trunc((A - B) * C + D);
|
||||
#endif
|
||||
|
||||
// FIXME dithering
|
||||
|
|
|
@ -1314,7 +1314,7 @@ static const char* tfx_fs_all_glsl =
|
|||
"#if PS_BLEND_A == PS_BLEND_B\n"
|
||||
" Color.rgb = D;\n"
|
||||
"#else\n"
|
||||
" Color.rgb = ((A - B) * C) + D;\n"
|
||||
" Color.rgb = trunc((A - B) * C + D);\n"
|
||||
"#endif\n"
|
||||
"\n"
|
||||
" // FIXME dithering\n"
|
||||
|
|
Loading…
Reference in New Issue