summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-01-14 21:01:26 -0800
committeryum <yum.food.vr@gmail.com>2025-01-14 21:01:28 -0800
commit333562544ef1b71a7a4d7ce1ece533bef98ce0da (patch)
treec9620943f8a772db0da777e1aa759b30adb17925 /Editor
parentab441140208d6dd8317f328f40a25c6054f1a304 (diff)
im going to kill myself
attempt to fix hypotrochoid normals key insight is that multiplying normal by transpose(invert(jacobian)) of transform should work, but it fucking doesn't
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index 1f759c2..0d15a3a 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -1981,6 +1981,14 @@ public class ToonerGUI : ShaderGUI {
FloatProperty(bc, "r");
bc = FindProperty("_Trochoid_d");
FloatProperty(bc, "d");
+ bc = FindProperty("_Trochoid_Speed");
+ FloatProperty(bc, "Speed");
+ bc = FindProperty("_Trochoid_Radius_Power");
+ FloatProperty(bc, "Radius power");
+ bc = FindProperty("_Trochoid_Radius_Scale");
+ FloatProperty(bc, "Radius scale");
+ bc = FindProperty("_Trochoid_Height_Scale");
+ FloatProperty(bc, "Height scale");
EditorGUI.indentLevel -= 1;
}