summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-08-24 14:42:42 -0700
committeryum <yum.food.vr@gmail.com>2024-08-24 14:42:42 -0700
commitd5a45df4a443cd562ebbe96137b669723bd31bf0 (patch)
tree184671c4a6dfda094eca7eff106376b635fea8fd /Editor
parentaef9d5734f80d68e6f9d5843a40799c219afad3f (diff)
Switch to SampleBias for everything
Also add a global slider for it.
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index 23fdafa..c3732cd 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -1613,11 +1613,10 @@ public class ToonerGUI : ShaderGUI {
bc,
"Shadows strength");
- bc = FindProperty("_Mip_Multiplier");
+ bc = FindProperty("_Global_Sample_Bias");
editor.FloatProperty(
bc,
- "Mipmap multiplier");
- bc.floatValue = (float) Math.Max(1E-6, bc.floatValue);
+ "Global mipmap bias");
bc = FindProperty("_Proximity_Dimming_Enable_Static");
bool enabled = bc.floatValue > 1E-6;