From fd370eab7e4959895763514526efc878e53d4886 Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 28 Oct 2025 16:07:36 -0700 Subject: add logical time feature the idea is that a remote piece of software s.a. TiXL sends in its logical time every once in a while. udon recovers it, interpolates and smooths it, and feeds it to the shader. Anything which is periodic on units of 1.0 "seconds" retains its periodicity under changes to the rate of passage of time. --- features.cginc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'features.cginc') diff --git a/features.cginc b/features.cginc index cb5a1d7..def13bd 100644 --- a/features.cginc +++ b/features.cginc @@ -64,4 +64,8 @@ #pragma shader_feature_local _SHADOW_CASTER //endex +//ifex _Logical_Time_Enabled==0 +#pragma shader_feature_local _LOGICAL_TIME +//endex + #endif // __FEATURES_INC -- cgit v1.2.3