summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'pbr.cginc')
-rw-r--r--pbr.cginc2
1 files changed, 0 insertions, 2 deletions
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);