mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 01:11:32 +11:00
Merge pull request #97 from jdgleaver/simpletex_lcd-cc-update
(simpletex_lcd) Update colour correction values
This commit is contained in:
commit
757dfe0d83
|
@ -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