diff options
| author | yum <yum.food.vr@gmail.com> | 2024-07-28 14:14:30 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-07-28 14:14:30 -0700 |
| commit | 22d3a28ef6ac9f4fc9204ae3bc0c67d82feac46e (patch) | |
| tree | 1cfe361a86a731e630ceece702e7654ce62cfabf /Editor/tooner.cs | |
| parent | aa932e9df0691f1de27fb44e06e8d786400c3d2a (diff) | |
Implement stereo instancing
Seems to fix VR flickering bug.
Also:
* Add vertex lighting factor
* Remove clearcoat 10x factors
* Lighting factors now affect clearcoat
* Simplify `#pragma multi_compile` bits
Diffstat (limited to 'Editor/tooner.cs')
| -rw-r--r-- | Editor/tooner.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index 189cfd0..4ad7fa7 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -1300,6 +1300,11 @@ public class ToonerGUI : ShaderGUI { bc, "Direct multiplier"); + bc = FindProperty("_Vertex_Lighting_Factor"); + editor.RangeProperty( + bc, + "Vertex light multiplier"); + bc = FindProperty("_Indirect_Specular_Lighting_Factor"); editor.RangeProperty( bc, |
