mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-29 19:01:31 +11:00
(simpletex_lcd) Update colour correction values (taken from Pokefan531's latest
shader pack: https://forums.libretro.com/t/real-gba-and-ds-phat-colors/1540/174)
This commit is contained in:
parent
04081a285b
commit
82bac4ce30
|
@ -123,14 +123,14 @@ const float INV_BG_TEXTURE_SIZE = 1.0 / BG_TEXTURE_SIZE;
|
||||||
// Colour correction
|
// Colour correction
|
||||||
#define TARGET_GAMMA 2.2
|
#define TARGET_GAMMA 2.2
|
||||||
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
||||||
#define CC_R 0.84
|
#define CC_R 0.86
|
||||||
#define CC_G 0.66
|
#define CC_G 0.66
|
||||||
#define CC_B 0.81
|
#define CC_B 0.81
|
||||||
#define CC_RG 0.11
|
#define CC_RG 0.11
|
||||||
#define CC_RB 0.13
|
#define CC_RB 0.1325
|
||||||
#define CC_GR 0.19
|
#define CC_GR 0.19
|
||||||
#define CC_GB 0.06
|
#define CC_GB 0.0575
|
||||||
#define CC_BR -0.03
|
#define CC_BR -0.05
|
||||||
#define CC_BG 0.23
|
#define CC_BG 0.23
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -123,14 +123,14 @@ const float INV_BG_TEXTURE_SIZE = 1.0 / BG_TEXTURE_SIZE;
|
||||||
// Colour correction
|
// Colour correction
|
||||||
#define TARGET_GAMMA 2.2
|
#define TARGET_GAMMA 2.2
|
||||||
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
||||||
#define CC_R 0.84
|
#define CC_R 0.86
|
||||||
#define CC_G 0.66
|
#define CC_G 0.66
|
||||||
#define CC_B 0.81
|
#define CC_B 0.81
|
||||||
#define CC_RG 0.11
|
#define CC_RG 0.11
|
||||||
#define CC_RB 0.13
|
#define CC_RB 0.1325
|
||||||
#define CC_GR 0.19
|
#define CC_GR 0.19
|
||||||
#define CC_GB 0.06
|
#define CC_GB 0.0575
|
||||||
#define CC_BR -0.03
|
#define CC_BR -0.05
|
||||||
#define CC_BG 0.23
|
#define CC_BG 0.23
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -123,15 +123,15 @@ const float INV_BG_TEXTURE_SIZE = 1.0 / BG_TEXTURE_SIZE;
|
||||||
// Colour correction
|
// Colour correction
|
||||||
#define TARGET_GAMMA 2.2
|
#define TARGET_GAMMA 2.2
|
||||||
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
||||||
#define CC_R 0.86629
|
#define CC_R 0.87
|
||||||
#define CC_G 0.70857
|
#define CC_G 0.66
|
||||||
#define CC_B 0.77215
|
#define CC_B 0.79
|
||||||
#define CC_RG 0.02429
|
#define CC_RG 0.115
|
||||||
#define CC_RB 0.11337
|
#define CC_RB 0.14
|
||||||
#define CC_GR 0.13361
|
#define CC_GR 0.18
|
||||||
#define CC_GB 0.11448
|
#define CC_GB 0.07
|
||||||
#define CC_BR 0.0
|
#define CC_BR -0.05
|
||||||
#define CC_BG 0.26714
|
#define CC_BG 0.225
|
||||||
|
|
||||||
/*
|
/*
|
||||||
FRAGMENT SHADER
|
FRAGMENT SHADER
|
||||||
|
|
|
@ -123,15 +123,15 @@ const float INV_BG_TEXTURE_SIZE = 1.0 / BG_TEXTURE_SIZE;
|
||||||
// Colour correction
|
// Colour correction
|
||||||
#define TARGET_GAMMA 2.2
|
#define TARGET_GAMMA 2.2
|
||||||
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
const float INV_DISPLAY_GAMMA = 1.0 / 2.2;
|
||||||
#define CC_R 0.86629
|
#define CC_R 0.87
|
||||||
#define CC_G 0.70857
|
#define CC_G 0.66
|
||||||
#define CC_B 0.77215
|
#define CC_B 0.79
|
||||||
#define CC_RG 0.02429
|
#define CC_RG 0.115
|
||||||
#define CC_RB 0.11337
|
#define CC_RB 0.14
|
||||||
#define CC_GR 0.13361
|
#define CC_GR 0.18
|
||||||
#define CC_GB 0.11448
|
#define CC_GB 0.07
|
||||||
#define CC_BR 0.0
|
#define CC_BR -0.05
|
||||||
#define CC_BG 0.26714
|
#define CC_BG 0.225
|
||||||
|
|
||||||
/*
|
/*
|
||||||
FRAGMENT SHADER
|
FRAGMENT SHADER
|
||||||
|
|
Loading…
Reference in a new issue