mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 01:11:32 +11:00
Update Pokefan531's handheld color shaders
This commit is contained in:
parent
1d9b7779ae
commit
d4cab25431
|
@ -21,7 +21,7 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
||||||
*/
|
*/
|
||||||
// Shader that replicates the LCD dynamics from a GameBoy Advance
|
// Shader that replicates the LCD dynamics from a GameBoy Advance
|
||||||
|
|
||||||
#pragma parameter darken_screen "Darken Screen" 0.5 0.0 2.0 0.05
|
#pragma parameter darken_screen "Darken Screen" 0.5 -0.25 2.0 0.05
|
||||||
|
|
||||||
#define target_gamma 2.2
|
#define target_gamma 2.2
|
||||||
#define display_gamma 2.2
|
#define display_gamma 2.2
|
||||||
|
@ -31,15 +31,15 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
||||||
#define blr 0.0
|
#define blr 0.0
|
||||||
#define blg 0.0
|
#define blg 0.0
|
||||||
#define blb 0.0
|
#define blb 0.0
|
||||||
#define r 0.81
|
#define r 0.845
|
||||||
#define g 0.67
|
#define g 0.68
|
||||||
#define b 0.73
|
#define b 0.755
|
||||||
#define rg 0.09
|
#define rg 0.09
|
||||||
#define rb 0.15
|
#define rb 0.16
|
||||||
#define gr 0.23
|
#define gr 0.17
|
||||||
#define gb 0.12
|
#define gb 0.085
|
||||||
#define br -0.04
|
#define br -0.015
|
||||||
#define bg 0.24
|
#define bg 0.23
|
||||||
#define overscan_percent_x 0.0
|
#define overscan_percent_x 0.0
|
||||||
#define overscan_percent_y 0.0
|
#define overscan_percent_y 0.0
|
||||||
|
|
||||||
|
|
|
@ -24,15 +24,15 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
||||||
#define blr 0.0
|
#define blr 0.0
|
||||||
#define blg 0.0
|
#define blg 0.0
|
||||||
#define blb 0.0
|
#define blb 0.0
|
||||||
#define r 0.82
|
#define r 0.83
|
||||||
#define g 0.66
|
#define g 0.65
|
||||||
#define b 0.81
|
#define b 0.765
|
||||||
#define rg 0.085
|
#define rg 0.105
|
||||||
#define rb 0.085
|
#define rb 0.105
|
||||||
#define gr 0.25
|
#define gr 0.20
|
||||||
#define gb 0.105
|
#define gb 0.13
|
||||||
#define br -0.07
|
#define br -0.03
|
||||||
#define bg 0.255
|
#define bg 0.245
|
||||||
#define overscan_percent_x 0.0
|
#define overscan_percent_x 0.0
|
||||||
#define overscan_percent_y 0.0
|
#define overscan_percent_y 0.0
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
Loading…
Reference in a new issue