From d07d537ce3fbd9d8db2d73126f6df1cb3bff4bc3 Mon Sep 17 00:00:00 2001 From: NAVras-Z Date: Mon, 23 Oct 2017 06:12:42 +0800 Subject: [PATCH] [BotW] fix potential bug in contrasty credit @alexkiri --- .../bd8bba59e2149449_00000000000003c9_ps.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Enhancement/BreathOfTheWild_Contrasty/bd8bba59e2149449_00000000000003c9_ps.txt b/Enhancement/BreathOfTheWild_Contrasty/bd8bba59e2149449_00000000000003c9_ps.txt index e11aedf6..67d07cb9 100644 --- a/Enhancement/BreathOfTheWild_Contrasty/bd8bba59e2149449_00000000000003c9_ps.txt +++ b/Enhancement/BreathOfTheWild_Contrasty/bd8bba59e2149449_00000000000003c9_ps.txt @@ -6,8 +6,8 @@ //----------------------------settings------------------------------------- -const bool only_adjustbloom = false; -// if true, all features except 'adjustable bloom' in contrasty will be disabled. +// #define only_adjustbloom +// uncomment above to only use 'adjustable bloom', all other features in contrasty will be disabled. const float bloomFactor = 0.7; // 1.0 is neutral const float gamma = 0.81; // 1.0 is neutral Botw is already colour graded at this stage @@ -145,7 +145,7 @@ R0f.x = (mul_nonIEEE(R126f.x,R125f.w) + PV1f.w); R0f.y = (mul_nonIEEE(R126f.x,R127f.z) + PV1f.w); R0f.z = (mul_nonIEEE(R126f.x,R126f.y) + PV1f.w); -#if !only_adjustbloom +#ifndef only_adjustbloom //Color Tweak vec3 fColour = R0f.xyz; fColour = max(vec3(0.0), fColour - vec3(crushContrast));