From 6d45c243f85942b20dab58753e735ec89a68f710 Mon Sep 17 00:00:00 2001 From: x2048 Date: Fri, 6 Jan 2023 22:33:25 +0100 Subject: Add dynamic exposure correction (#12959) * Add uniform for frame delta time * Adjust exposure in logarithmic (EV) space * Add network support and LUA API * Add testing mod --- src/network/networkprotocol.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/network/networkprotocol.h') diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 01e65ef68..4e50ef533 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -831,6 +831,13 @@ enum ToClientCommand /* f32 shadow_intensity f32 saturation + exposure parameters + f32 luminance_min + f32 luminance_max + f32 exposure_correction + f32 speed_dark_bright + f32 speed_bright_dark + f32 center_weight_power */ TOCLIENT_NUM_MSG_TYPES = 0x64, -- cgit v1.2.3