From b7d3cb5d759feab1e44f4cdb01a0c8922bf4f1cb Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 3 Nov 2024 15:25:08 -0800 Subject: Misc * Add third HSV slot * Add ZTest enum * Fix bug where SSR mask keyword can be set when SSR is disabled --- pbr.cginc | 2 -- 1 file changed, 2 deletions(-) (limited to 'pbr.cginc') diff --git a/pbr.cginc b/pbr.cginc index 9d57a66..ea15096 100644 --- a/pbr.cginc +++ b/pbr.cginc @@ -233,8 +233,6 @@ float4 getLitColor( #endif UnityLight direct_light; - direct_light.dir = getDirectLightDirection(i); - direct_light.ndotl = DotClamped(normal, direct_light.dir); direct_light.color = 0; { direct_light.dir = getDirectLightDirection(i); -- cgit v1.2.3