This commit is contained in:
jmekaelthas 2016-03-17 18:14:47 +01:00
commit 197b9c28e8
2 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class TestPointLightShadows extends SimpleApplication implements ActionLi
Node scene = (Node) assetManager.loadModel("Models/Test/CornellBox_1.j3o");
Node scene = (Node) assetManager.loadModel("Models/Test/CornellBox.j3o");
scene.setShadowMode(RenderQueue.ShadowMode.CastAndReceive);
rootNode.attachChild(scene);
rootNode.getChild("Cube").setShadowMode(RenderQueue.ShadowMode.Receive);