From 41fb9306b5c033f9812cce2da0d241270cd15c03 Mon Sep 17 00:00:00 2001 From: Monroe88 Date: Sun, 18 Feb 2018 16:19:32 -0600 Subject: [PATCH] Add parameters to lcd-grid-v2.slangp --- handheld/lcd-grid-v2.slangp | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/handheld/lcd-grid-v2.slangp b/handheld/lcd-grid-v2.slangp index 2f86688..1d187d7 100644 --- a/handheld/lcd-grid-v2.slangp +++ b/handheld/lcd-grid-v2.slangp @@ -1,5 +1,22 @@ -shaders = 1 - -shader0 = shaders/lcd-cgwg/lcd-grid-v2.slang -filter_linear0 = false -scale_type_0 = source \ No newline at end of file +shaders = 1 + +shader0 = shaders/lcd-cgwg/lcd-grid-v2.slang +filter_linear0 = false +scale_type0 = "viewport" +scale0 = "1.0" + +parameters = "RSUBPIX_R;RSUBPIX_G;RSUBPIX_B;GSUBPIX_R;GSUBPIX_G;GSUBPIX_B;BSUBPIX_R;BSUBPIX_G;BSUBPIX_B;gain;gamma;blacklevel;ambient;BGR" +RSUBPIX_R = "0.750000" +RSUBPIX_G = "0.000000" +RSUBPIX_B = "0.000000" +GSUBPIX_R = "0.000000" +GSUBPIX_G = "0.750000" +GSUBPIX_B = "0.000000" +BSUBPIX_R = "0.000000" +BSUBPIX_G = "0.000000" +BSUBPIX_B = "0.750000" +gain = "1.500000" +gamma = "2.200000" +blacklevel = "0.000000" +ambient = "0.000000" +BGR = "0.000000"