diff options
| author | yum <yum.food.vr@gmail.com> | 2024-07-13 16:33:25 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-07-13 16:33:25 -0700 |
| commit | 3dcb2fd0e240f3c0141e65c32bc2c4a7f8e9fd20 (patch) | |
| tree | 3972c678d7f01022a31c6eadffc1dcff50c9f83c /feature_macros.cginc | |
| parent | bf4457b96cd46ed2d3d61bde2eb4d58d3114730b (diff) | |
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.
Diffstat (limited to 'feature_macros.cginc')
| -rw-r--r-- | feature_macros.cginc | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
