TextureCache: Use same color coefficients for EFB2Tex as EFB2RAM

This commit is contained in:
Stenzek
2016-12-14 23:58:23 +10:00
parent d6cdf49769
commit accce4294a
5 changed files with 14 additions and 14 deletions

View File

@ -602,7 +602,7 @@ bool TextureCache::CompileShaders()
void main()
{
float4 texcol = texture(samp0, uv0);
texcol = round(texcol * C.colmat[5]) * C.colmat[6];
texcol = floor(texcol * C.colmat[5]) * C.colmat[6];
ocol0 = texcol * mat4(C.colmat[0], C.colmat[1], C.colmat[2], C.colmat[3]) + C.colmat[4];
}
)";