From 77caa97b869a32e5297da13d6a9ee68c36a73ef0 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Sun, 20 Mar 2022 00:23:58 +0200 Subject: [PATCH] fixed visual glitches with PSSM --- resources/managed_materials/shadows/pssm/on/shadows.material | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/managed_materials/shadows/pssm/on/shadows.material b/resources/managed_materials/shadows/pssm/on/shadows.material index 414d8db0dd..12657c8409 100644 --- a/resources/managed_materials/shadows/pssm/on/shadows.material +++ b/resources/managed_materials/shadows/pssm/on/shadows.material @@ -2,6 +2,7 @@ abstract technique Shadows/managed/base_receiver { pass BaseRender { + depth_bias -20 ambient 1 1 1 1 diffuse 1 1 1 1