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 /tooner.shader | |
| 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 'tooner.shader')
| -rw-r--r-- | tooner.shader | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tooner.shader b/tooner.shader index 61304e1..a9f5ca7 100644 --- a/tooner.shader +++ b/tooner.shader @@ -250,6 +250,10 @@ Shader "yum_food/tooner" _Gimmick_Shear_Location_Enable_Static("Enable shear location gimmick", Float) = 0.0 _Gimmick_Shear_Location_Enable_Dynamic("Enable shear location gimmick", Float) = 0.0 _Gimmick_Shear_Location_Strength("Strength", Vector) = (1, 1, 1, 1) + _Gimmick_Shear_Location_Mesh_Renderer_Fix("Mesh renderer fix", Float) = 0.0 + _Gimmick_Shear_Location_Mesh_Renderer_Offset("Mesh renderer offset", Vector) = (0, 0, 0, 0) + _Gimmick_Shear_Location_Mesh_Renderer_Rotation("Mesh renderer rotation", Vector) = (0, 0, 0, 0) + _Gimmick_Shear_Location_Mesh_Renderer_Scale("Mesh renderer scale", Vector) = (0, 0, 0, 0) _Gimmick_Vertex_Normal_Slide_Enable_Static("Enable vertex normal slide", Float) = 0.0 _Gimmick_Vertex_Normal_Slide_Enable_Dynamic("Enable vertex normal slide", Float) = 0.0 @@ -257,6 +261,16 @@ Shader "yum_food/tooner" _Gimmick_Eyes00_Enable_Static("Enable eyes 00", Float) = 0.0 _Gimmick_Eyes00_Effect_Mask("Effect mask", 2D) = "white" + + _Gimmick_Pixellate_Enable_Static("Enable pixellation", Float) = 0.0 + _Gimmick_Pixellate_Resolution_U("Resolution (U)", Float) = 64 + _Gimmick_Pixellate_Resolution_V("Resolution (V)", Float) = 64 + _Gimmick_Pixellate_Effect_Mask("Effect mask", 2D) = "white" + + _Trochoid_Enable_Static("Enable trochoid", Float) = 0.0 + _Trochoid_R("R", Float) = 5.0 + _Trochoid_r("r", Float) = 3.0 + _Trochoid_d("d", Float) = 5.0 } SubShader { |
