diff options
| author | yum <yum.food.vr@gmail.com> | 2024-05-27 21:42:06 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-05-27 21:42:06 -0700 |
| commit | 47eb460bf49d4512f52eecffa5696eb761a08f83 (patch) | |
| tree | ec79ae609eb51f579fb0e09e57b6304274f9dbe4 /Editor | |
| parent | c9af3d5c85836588f7e82bcbb172bb21251427bf (diff) | |
Use _MainTex and _Color
Also remove multipliers from gradient-based mipmap sampling.
Diffstat (limited to 'Editor')
| -rw-r--r-- | Editor/tooner.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index f984f6a..d60e543 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -48,8 +48,8 @@ public class ToonerGUI : ShaderGUI { } void DoBaseColor() { - MaterialProperty bc = FindProperty("_BaseColor"); - MaterialProperty bct = FindProperty("_BaseColorTex"); + MaterialProperty bc = FindProperty("_Color"); + MaterialProperty bct = FindProperty("_MainTex"); editor.TexturePropertySingleLine( MakeLabel(bct, "Base color (RGBA)"), bct, @@ -917,4 +917,3 @@ public class ToonerGUI : ShaderGUI { } } - |
