mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-03 19:25:39 +00:00
Update conversion matrix for NTSC-J
These were original calculated by @EndlesslyFlowering, and they've not came up with a new version that does chromatic adaptation (D93 to D65 white point) better, hence should be more accurate.
These are already in use in RenoDX:
283b859021/src/shaders/color.hlsl (L97C1-L103C49)
This commit is contained in:
parent
a32779340e
commit
0aa0071bec
@ -11,9 +11,9 @@ mat3 from_NTSCM = transpose(mat3(
|
|||||||
|
|
||||||
// ARIB TR-B9 (9300K+27MPCD with chromatic adaptation) (NTSC-J) -> BT.709
|
// ARIB TR-B9 (9300K+27MPCD with chromatic adaptation) (NTSC-J) -> BT.709
|
||||||
mat3 from_NTSCJ = transpose(mat3(
|
mat3 from_NTSCJ = transpose(mat3(
|
||||||
0.823613036967492, -0.0943227111084757, 0.00799341532931119,
|
0.768497526, -0.210804164, 0.000297427177,
|
||||||
0.0289258355537324, 1.02310733489462, 0.00243547111576797,
|
0.0397904068, 1.04825413, 0.00555809540,
|
||||||
-0.00569501554980891, 0.0161828357559315, 1.22328453915712));
|
0.00147510506, 0.0328789241, 1.36515128));
|
||||||
|
|
||||||
// EBU - BT.470BG/BT.601 (PAL) -> BT.709
|
// EBU - BT.470BG/BT.601 (PAL) -> BT.709
|
||||||
mat3 from_PAL = transpose(mat3(
|
mat3 from_PAL = transpose(mat3(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user