mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 07:41:31 +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
|
||||
|
||||
#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 display_gamma 2.2
|
||||
|
@ -31,15 +31,15 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
|||
#define blr 0.0
|
||||
#define blg 0.0
|
||||
#define blb 0.0
|
||||
#define r 0.81
|
||||
#define g 0.67
|
||||
#define b 0.73
|
||||
#define r 0.845
|
||||
#define g 0.68
|
||||
#define b 0.755
|
||||
#define rg 0.09
|
||||
#define rb 0.15
|
||||
#define gr 0.23
|
||||
#define gb 0.12
|
||||
#define br -0.04
|
||||
#define bg 0.24
|
||||
#define rb 0.16
|
||||
#define gr 0.17
|
||||
#define gb 0.085
|
||||
#define br -0.015
|
||||
#define bg 0.23
|
||||
#define overscan_percent_x 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 blg 0.0
|
||||
#define blb 0.0
|
||||
#define r 0.82
|
||||
#define g 0.66
|
||||
#define b 0.81
|
||||
#define rg 0.085
|
||||
#define rb 0.085
|
||||
#define gr 0.25
|
||||
#define gb 0.105
|
||||
#define br -0.07
|
||||
#define bg 0.255
|
||||
#define r 0.83
|
||||
#define g 0.65
|
||||
#define b 0.765
|
||||
#define rg 0.105
|
||||
#define rb 0.105
|
||||
#define gr 0.20
|
||||
#define gb 0.13
|
||||
#define br -0.03
|
||||
#define bg 0.245
|
||||
#define overscan_percent_x 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