diff options
| author | yum <yum.food.vr@gmail.com> | 2025-10-28 16:07:36 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-10-28 17:19:38 -0700 |
| commit | fd370eab7e4959895763514526efc878e53d4886 (patch) | |
| tree | 5ecb9f4d1710f737f96f68a6ab7d7b80e5d6c4d0 /features.cginc | |
| parent | 0af84f011446496dd85a1cc6b139121ac99b139b (diff) | |
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.
Diffstat (limited to 'features.cginc')
| -rw-r--r-- | features.cginc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
