From 7b9f861b69ac4ff9868819b3a797f29396ef34b3 Mon Sep 17 00:00:00 2001 From: Monroe88 Date: Thu, 20 Apr 2017 19:30:00 -0500 Subject: [PATCH] (nes-color-decoder) Add missing parameter #defines --- misc/nes-color-decoder-alt.glsl | 6 +++++- misc/nes-color-decoder-sony.glsl | 6 +++++- misc/nes-color-decoder.glsl | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/misc/nes-color-decoder-alt.glsl b/misc/nes-color-decoder-alt.glsl index 9146a13..ac3518e 100644 --- a/misc/nes-color-decoder-alt.glsl +++ b/misc/nes-color-decoder-alt.glsl @@ -19,7 +19,11 @@ uniform COMPAT_PRECISION float contrast; uniform COMPAT_PRECISION float brightness; uniform COMPAT_PRECISION float gamma; #else -#define intensity 1.0 +#define saturation 1.0 +#define hue_tweak 0.0 +#define contrast 1.0 +#define brightness 1.0 +#define gamma 1.8 #endif bool wave (int p, int color) diff --git a/misc/nes-color-decoder-sony.glsl b/misc/nes-color-decoder-sony.glsl index 621d65a..afdf7e0 100644 --- a/misc/nes-color-decoder-sony.glsl +++ b/misc/nes-color-decoder-sony.glsl @@ -19,7 +19,11 @@ uniform COMPAT_PRECISION float contrast; uniform COMPAT_PRECISION float brightness; uniform COMPAT_PRECISION float gamma; #else -#define intensity 1.0 +#define saturation 1.0 +#define hue_tweak 0.0 +#define contrast 1.0 +#define brightness 1.0 +#define gamma 1.8 #endif bool wave (int p, int color) diff --git a/misc/nes-color-decoder.glsl b/misc/nes-color-decoder.glsl index 432630d..fcd987d 100644 --- a/misc/nes-color-decoder.glsl +++ b/misc/nes-color-decoder.glsl @@ -19,7 +19,11 @@ uniform COMPAT_PRECISION float contrast; uniform COMPAT_PRECISION float brightness; uniform COMPAT_PRECISION float gamma; #else -#define intensity 1.0 +#define saturation 1.0 +#define hue_tweak 0.0 +#define contrast 1.0 +#define brightness 1.0 +#define gamma 1.8 #endif bool wave (int p, int color)