diff options
| author | yum <yum.food.vr@gmail.com> | 2025-01-03 02:05:24 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-01-03 02:05:24 -0800 |
| commit | 47579d97118476d24373e19c5dd5fdfe6ae12333 (patch) | |
| tree | 5db650d9ca9a4f5d5a7c43c57d0e846d7ce8e9c6 /Editor | |
| parent | 790fcbb36e1f3aa8b287338a61a3db0381dfa0ba (diff) | |
Fog now uses object coordinates
Also overhaul how emitter planes are specified. Use normal and tangent.
Diffstat (limited to 'Editor')
| -rw-r--r-- | Editor/tooner.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index e229331..aa02b35 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -2387,6 +2387,9 @@ public class ToonerGUI : ShaderGUI { bc); SetKeyword("_GIMMICK_FOG_00_NOISE_2D", bc.textureValue); + bc = FindProperty("_Gimmick_Fog_00_LTCGI_Brightness"); + FloatProperty(bc, "LTCGI brightness"); + bc = FindProperty("_Gimmick_Fog_00_Emitter_Texture"); TexturePropertySingleLine( MakeLabel(bc, "Emitter texture"), @@ -2409,10 +2412,12 @@ public class ToonerGUI : ShaderGUI { VectorProperty(bc, "Location (world)"); bc = FindProperty("_Gimmick_Fog_00_Emitter0_Normal"); VectorProperty(bc, "Normal (world)"); - bc = FindProperty("_Gimmick_Fog_00_Emitter0_Scale_X"); - FloatProperty(bc, "Scale (x)"); - bc = FindProperty("_Gimmick_Fog_00_Emitter0_Scale_Y"); - FloatProperty(bc, "Scale (y)"); + bc = FindProperty("_Gimmick_Fog_00_Emitter0_Tangent"); + VectorProperty(bc, "Tangent (world)"); + bc = FindProperty("_Gimmick_Fog_00_Emitter0_Scale_T"); + FloatProperty(bc, "Scale (tangent)"); + bc = FindProperty("_Gimmick_Fog_00_Emitter0_Scale_NxT"); + FloatProperty(bc, "Scale (normal x tangent)"); bc = FindProperty("_Gimmick_Fog_00_Emitter_Brightness_Diffuse"); FloatProperty(bc, "Brightness (diffuse)"); |
