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 --- globals.cginc | 1 + 1 file changed, 1 insertion(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 6e6a01f..e14b1a7 100644 --- a/globals.cginc +++ b/globals.cginc @@ -14,6 +14,7 @@ float _NormalStr; float _Lighting_Factor; float _Direct_Lighting_Factor; +float _Vertex_Lighting_Factor; float _Indirect_Specular_Lighting_Factor; float _Indirect_Diffuse_Lighting_Factor; float _Reflection_Probe_Saturation; -- cgit v1.2.3