From 63565052e3e1d23017879894b5f64bc302d3c186 Mon Sep 17 00:00:00 2001 From: Onek8 Date: Mon, 2 Jun 2025 20:37:45 +0000 Subject: [PATCH] Disable BayerMatrix momentaraily --- leenkx/Shaders/std/constants.glsl | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/leenkx/Shaders/std/constants.glsl b/leenkx/Shaders/std/constants.glsl index 7aa5d15..b9ccfdc 100644 --- a/leenkx/Shaders/std/constants.glsl +++ b/leenkx/Shaders/std/constants.glsl @@ -55,7 +55,8 @@ mat3 makeTangentBasis(vec3 normal) { return mat3(tangent, bitangent, normal); } -const float BayerMatrix8[8][8] = +// TO DO - Disabled momentarily instead of changing formulas +const float off_BayerMatrix8[8][8] = { { 1.0 / 65.0, 49.0 / 65.0, 13.0 / 65.0, 61.0 / 65.0, 4.0 / 65.0, 52.0 / 65.0, 16.0 / 65.0, 64.0 / 65.0 }, { 33.0 / 65.0, 17.0 / 65.0, 45.0 / 65.0, 29.0 / 65.0, 36.0 / 65.0, 20.0 / 65.0, 48.0 / 65.0, 32.0 / 65.0 }, @@ -66,3 +67,15 @@ const float BayerMatrix8[8][8] = { 11.0 / 65.0, 59.0 / 65.0, 7.0 / 65.0, 55.0 / 65.0, 10.0 / 65.0, 58.0 / 65.0, 6.0 / 65.0, 54.0 / 65.0 }, { 43.0 / 65.0, 27.0 / 65.0, 39.0 / 65.0, 23.0 / 65.0, 42.0 / 65.0, 26.0 / 65.0, 38.0 / 65.0, 22.0 / 65.0 } }; +const float BayerMatrix8[8][8] = +{ + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 }, + { 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0 } +}; +