From 03f4e91cebe97a0e4cce154bfcadef42d1a23d49 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 3 May 2013 23:08:46 +0200 Subject: [PATCH] Unrelated shadows fix --- files/materials/objects.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/materials/objects.shader b/files/materials/objects.shader index acabde10e..0c869d2cb 100644 --- a/files/materials/objects.shader +++ b/files/materials/objects.shader @@ -415,7 +415,7 @@ float3 waterEyePos = intercept(worldPos, cameraPos.xyz - worldPos, float3(0,0,1), waterLevel); #endif -#if SHADOWS +#if SHADOWS || SHADOWS_PSSM shOutputColour(0) *= (lightResult - float4(directionalResult * (1.0-shadow),0)); #else shOutputColour(0) *= lightResult;