From 333562544ef1b71a7a4d7ce1ece533bef98ce0da Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 14 Jan 2025 21:01:26 -0800 Subject: 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 --- Editor/tooner.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Editor') 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; } -- cgit v1.2.3