From 22d3a28ef6ac9f4fc9204ae3bc0c67d82feac46e Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 28 Jul 2024 14:14:30 -0700 Subject: 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 --- Editor/tooner.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Editor') 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, -- cgit v1.2.3