From 3dcb2fd0e240f3c0141e65c32bc2c4a7f8e9fd20 Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 13 Jul 2024 16:33:25 -0700 Subject: Integration pixellation and trochoid shaders Trochoid is a WIP. Need to do some magic to make it properly shear. In short: it's currently implemented as a standalone Mesh Renderer object which I place on my avatar's neck bone. Since its object origin is not at the hip bone like everything else, it behaves weirdly when shearing. Solution is to implement it as a regular skinned mesh renderer. Requires some careful analysis to get right. --- feature_macros.cginc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'feature_macros.cginc') diff --git a/feature_macros.cginc b/feature_macros.cginc index 66f626f..ea9edf8 100644 --- a/feature_macros.cginc +++ b/feature_macros.cginc @@ -89,6 +89,8 @@ #pragma shader_feature_local _ _GIMMICK_QUANTIZE_LOCATION_AUDIOLINK #pragma shader_feature_local _ _GIMMICK_SHEAR_LOCATION #pragma shader_feature_local _ _GIMMICK_EYES_00 +#pragma shader_feature_local _ _PIXELLATE +#pragma shader_feature_local _ _TROCHOID #endif // __FEATURE_MACROS_INC -- cgit v1.2.3