Forgot to commit the change in the Cornell box model

This commit is contained in:
Nehon 2016-03-17 18:05:53 +01:00
parent dff4befafb
commit b218f4104e
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);