From 0995dcf9b621b6bad021335ee069169cbb5267c2 Mon Sep 17 00:00:00 2001 From: "Sha..om" Date: Mon, 24 Sep 2012 15:02:48 +0000 Subject: [PATCH] * Change shadow direction to demonstrate bug git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9766 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/test/jme3test/light/TestPssmShadow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/test/jme3test/light/TestPssmShadow.java b/engine/src/test/jme3test/light/TestPssmShadow.java index 64ca8d692..005675627 100644 --- a/engine/src/test/jme3test/light/TestPssmShadow.java +++ b/engine/src/test/jme3test/light/TestPssmShadow.java @@ -146,7 +146,7 @@ public class TestPssmShadow extends SimpleApplication implements ActionListener loadScene(); pssmRenderer = new PssmShadowRenderer(assetManager, 1024, 3); - pssmRenderer.setDirection(new Vector3f(-1, -1, -1).normalizeLocal()); + pssmRenderer.setDirection(new Vector3f(0.5973172f, -0.16583486f, 0.7846725f).normalizeLocal()); pssmRenderer.setLambda(0.55f); pssmRenderer.setShadowIntensity(0.6f); pssmRenderer.setCompareMode(CompareMode.Software);