From dbe9c30643a6c05c309b760bf9a17e4173ea2e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20Manchado=20Vel=C3=A1zquez?= Date: Mon, 14 Jan 2019 22:29:56 +0100 Subject: [PATCH] Fix die shadows (fixes #2) Fix provided by MillerMark, see comments on the issue. --- dice/dice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dice/dice.js b/dice/dice.js index 54d9eda..66fdf9e 100644 --- a/dice/dice.js +++ b/dice/dice.js @@ -368,7 +368,7 @@ light.target.position.set(0, 0, 0); light.castShadow = true; light.shadowCameraNear = mw / 10; - light.shadowCameraFar = mw * 3; + light.shadowCameraFar = mw * 4; light.shadowCameraFov = 50; light.shadowBias = 0.001; light.shadowDarkness = 0.3;