summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-07-28 14:14:30 -0700
committeryum <yum.food.vr@gmail.com>2024-07-28 14:14:30 -0700
commit22d3a28ef6ac9f4fc9204ae3bc0c67d82feac46e (patch)
tree1cfe361a86a731e630ceece702e7654ce62cfabf /Editor
parentaa932e9df0691f1de27fb44e06e8d786400c3d2a (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')
-rw-r--r--Editor/tooner.cs5
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,