mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
gbc-color: Tweak the colors a bit to match real hardware better
This commit is contained in:
parent
63c49b0c34
commit
b248b77cf0
|
@ -3,7 +3,7 @@
|
|||
/*
|
||||
GBC Color Correction Shader
|
||||
A shader that replicates the LCD dynamics from a Game Boy Color
|
||||
Color values are derived from Gambatte's color correction implementation.
|
||||
Color values are derived from Gambatte's color correction implementation, with some tweaks.
|
||||
|
||||
Based on Color Mangler
|
||||
Author: hunterk
|
||||
|
@ -25,13 +25,13 @@ layout(std140, set = 0, binding = 0) uniform UBO
|
|||
#define blb 0.0
|
||||
#define r 0.78824
|
||||
#define g 0.72941
|
||||
#define b 0.66667
|
||||
#define rg 0.00
|
||||
#define rb 0.18039
|
||||
#define b 0.82
|
||||
#define rg 0.025
|
||||
#define rb 0.12039
|
||||
#define gr 0.12157
|
||||
#define gb 0.12157
|
||||
#define br 0.05882
|
||||
#define bg 0.24314
|
||||
#define br 0.0
|
||||
#define bg 0.275000
|
||||
|
||||
|
||||
#pragma stage vertex
|
||||
|
|
Loading…
Reference in a new issue