fixed func: gui_vkbasalt

This commit is contained in:
Mikhail Tergoev 2024-10-24 20:56:14 +03:00
parent c0fe4fc425
commit 3224aaa754
3 changed files with 9 additions and 13 deletions

@ -4770,17 +4770,13 @@ gui_vkbasalt () {
fi fi
done done
if [[ -n "${PW_VKBASALT_FFX_CAS}" ]] ; then case "$PW_VKBASALT_FFX_CAS" in
case "$PW_VKBASALT_FFX_CAS" in 0|-1) VKBASALT_FFX_CAS_GUI="0" ;;
0|-1) VKBASALT_FFX_CAS_GUI="0" ;; 1) VKBASALT_FFX_CAS_GUI="100" ;;
1) VKBASALT_FFX_CAS_GUI="100" ;; 0.0*) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.0' '{print $2}')" ;;
0.0*) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.0' '{print $2}')" ;; *) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.' '{print $2}')" ;;
*) VKBASALT_FFX_CAS_GUI="$(echo "$PW_VKBASALT_FFX_CAS" | awk -F'0.' '{print $2}')" ;; esac
esac export VKBASALT_FFX_CAS_GUI
export VKBASALT_FFX_CAS_GUI
else
VKBASALT_FFX_CAS_GUI=50
fi
IFS="%" IFS="%"
"${pw_yad}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=4 --separator=" " \ "${pw_yad}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=4 --separator=" " \

@ -63,7 +63,7 @@ export VKD3D_STABLE_VER="1.1-2602"
export VKD3D_GIT_VER="1.1-4240" export VKD3D_GIT_VER="1.1-4240"
###VKBASALT### ###VKBASALT###
export PW_VKBASALT_EFFECTS="Curves:cas" export PW_VKBASALT_EFFECTS="Curves:cas"
export PW_VKBASALT_FFX_CAS="0.66" export PW_VKBASALT_FFX_CAS="0.50"
###MANGOHUD### ###MANGOHUD###
export DEFAULT_MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine" export DEFAULT_MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine"
###DGVOODOO2### ###DGVOODOO2###

@ -55,6 +55,6 @@ Cartoon = /run/pressure-vessel/pv-from-host/reshade/shaders/Cartoon.fx
Border = /run/pressure-vessel/pv-from-host/reshade/shaders/Border.fx Border = /run/pressure-vessel/pv-from-host/reshade/shaders/Border.fx
AspectRatio = /run/pressure-vessel/pv-from-host/reshade/shaders/AspectRatio.fx AspectRatio = /run/pressure-vessel/pv-from-host/reshade/shaders/AspectRatio.fx
casSharpness = 0.7 casSharpness = 0.5
toggleKey = Home toggleKey = Home
effects = FakeHDR:cas effects = FakeHDR:cas