SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit df1b89bf61e2244b3794cab15b1368841c1afb64 parent d93c1e501cdc4f0a4f083e02b8043c5a7e13dbc9 Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 23 Jul 2023 14:14:30 +0300 Update constants in the LCD shader that weren't updated after shaders switched to using linear RGB Diffstat:
| M | Shaders/LCD.fsh | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Shaders/LCD.fsh b/Shaders/LCD.fsh @@ -1,6 +1,6 @@ -#define COLOR_LOW 0.8 +#define COLOR_LOW 0.6 #define COLOR_HIGH 1.0 -#define SCANLINE_DEPTH 0.1 +#define SCANLINE_DEPTH 0.2 STATIC vec4 scale(sampler2D image, vec2 position, vec2 input_resolution, vec2 output_resolution) {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.